Package net.sf.saxon.xqj
Class SaxonXQExpression
java.lang.Object
net.sf.saxon.xqj.SaxonXQDynamicContext
net.sf.saxon.xqj.SaxonXQExpression
- All Implemented Interfaces:
XQDynamicContext
,XQExpression
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
(package private) Configuration
(package private) SaxonXQConnection
(package private) DynamicQueryContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
protected void
void
void
close()
void
executeCommand
(Reader command) void
executeCommand
(String command) executeQuery
(InputStream query) executeQuery
(Reader query) executeQuery
(String query) protected SaxonXQDataFactory
protected DynamicQueryContext
int
int
boolean
isClosed()
void
setQueryTimeout
(int seconds) Methods inherited from class net.sf.saxon.xqj.SaxonXQDynamicContext
bindAtomicValue, bindBoolean, bindByte, bindContextItem, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, getImplicitTimeZone, setImplicitTimeZone
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.sf.saxon.javax.xml.xquery.XQDynamicContext
bindAtomicValue, bindBoolean, bindByte, bindContextItem, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, getImplicitTimeZone, setImplicitTimeZone
-
Field Details
-
connection
SaxonXQConnection connection -
context
DynamicQueryContext context -
config
Configuration config -
closed
boolean closed
-
-
Constructor Details
-
SaxonXQExpression
SaxonXQExpression(SaxonXQConnection connection)
-
-
Method Details
-
getDynamicContext
- Specified by:
getDynamicContext
in classSaxonXQDynamicContext
-
getDataFactory
- Specified by:
getDataFactory
in classSaxonXQDynamicContext
- Throws:
XQException
-
checkNotClosed
- Specified by:
checkNotClosed
in classSaxonXQDynamicContext
- Throws:
XQException
-
cancel
- Specified by:
cancel
in interfaceXQExpression
- Throws:
XQException
-
clearWarnings
- Specified by:
clearWarnings
in interfaceXQExpression
- Throws:
XQException
-
close
public void close()- Specified by:
close
in interfaceXQExpression
-
executeCommand
- Specified by:
executeCommand
in interfaceXQExpression
- Throws:
XQException
-
executeCommand
- Specified by:
executeCommand
in interfaceXQExpression
- Throws:
XQException
-
executeQuery
- Specified by:
executeQuery
in interfaceXQExpression
- Throws:
XQException
-
executeQuery
- Specified by:
executeQuery
in interfaceXQExpression
- Throws:
XQException
-
executeQuery
- Specified by:
executeQuery
in interfaceXQExpression
- Throws:
XQException
-
getQueryLanguageTypeAndVersion
- Specified by:
getQueryLanguageTypeAndVersion
in interfaceXQExpression
- Throws:
XQException
-
getQueryTimeout
- Specified by:
getQueryTimeout
in interfaceXQExpression
- Throws:
XQException
-
getWarnings
- Specified by:
getWarnings
in interfaceXQExpression
- Throws:
XQException
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceXQExpression
-
setQueryTimeout
- Specified by:
setQueryTimeout
in interfaceXQExpression
- Throws:
XQException
-