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
public class SaxonXQExpression extends SaxonXQDynamicContext implements XQExpression
-
-
Field Summary
Fields Modifier and Type Field Description (package private) booleanclosed(package private) Configurationconfig(package private) SaxonXQConnectionconnection(package private) DynamicQueryContextcontext
-
Constructor Summary
Constructors Constructor Description SaxonXQExpression(SaxonXQConnection connection)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel()protected voidcheckNotClosed()voidclearWarnings()voidclose()voidexecuteCommand(java.io.Reader command)voidexecuteCommand(java.lang.String command)XQResultSequenceexecuteQuery(java.io.InputStream query)XQResultSequenceexecuteQuery(java.io.Reader query)XQResultSequenceexecuteQuery(java.lang.String query)protected SaxonXQDataFactorygetDataFactory()protected DynamicQueryContextgetDynamicContext()intgetQueryLanguageTypeAndVersion()intgetQueryTimeout()XQWarninggetWarnings()booleanisClosed()voidsetQueryTimeout(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 Detail
-
connection
SaxonXQConnection connection
-
context
DynamicQueryContext context
-
config
Configuration config
-
closed
boolean closed
-
-
Constructor Detail
-
SaxonXQExpression
SaxonXQExpression(SaxonXQConnection connection)
-
-
Method Detail
-
getDynamicContext
protected DynamicQueryContext getDynamicContext()
- Specified by:
getDynamicContextin classSaxonXQDynamicContext
-
getDataFactory
protected SaxonXQDataFactory getDataFactory() throws XQException
- Specified by:
getDataFactoryin classSaxonXQDynamicContext- Throws:
XQException
-
checkNotClosed
protected void checkNotClosed() throws XQException- Specified by:
checkNotClosedin classSaxonXQDynamicContext- Throws:
XQException
-
cancel
public void cancel() throws XQException- Specified by:
cancelin interfaceXQExpression- Throws:
XQException
-
clearWarnings
public void clearWarnings() throws XQException- Specified by:
clearWarningsin interfaceXQExpression- Throws:
XQException
-
close
public void close()
- Specified by:
closein interfaceXQExpression
-
executeCommand
public void executeCommand(java.io.Reader command) throws XQException- Specified by:
executeCommandin interfaceXQExpression- Throws:
XQException
-
executeCommand
public void executeCommand(java.lang.String command) throws XQException- Specified by:
executeCommandin interfaceXQExpression- Throws:
XQException
-
executeQuery
public XQResultSequence executeQuery(java.io.InputStream query) throws XQException
- Specified by:
executeQueryin interfaceXQExpression- Throws:
XQException
-
executeQuery
public XQResultSequence executeQuery(java.io.Reader query) throws XQException
- Specified by:
executeQueryin interfaceXQExpression- Throws:
XQException
-
executeQuery
public XQResultSequence executeQuery(java.lang.String query) throws XQException
- Specified by:
executeQueryin interfaceXQExpression- Throws:
XQException
-
getQueryLanguageTypeAndVersion
public int getQueryLanguageTypeAndVersion() throws XQException- Specified by:
getQueryLanguageTypeAndVersionin interfaceXQExpression- Throws:
XQException
-
getQueryTimeout
public int getQueryTimeout() throws XQException- Specified by:
getQueryTimeoutin interfaceXQExpression- Throws:
XQException
-
getWarnings
public XQWarning getWarnings() throws XQException
- Specified by:
getWarningsin interfaceXQExpression- Throws:
XQException
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceXQExpression
-
setQueryTimeout
public void setQueryTimeout(int seconds) throws XQException- Specified by:
setQueryTimeoutin interfaceXQExpression- Throws:
XQException
-
-