net.sf.saxon.xqj

Class SaxonXQExpression

Implemented Interfaces:
XQDynamicContext, XQExpression

public class SaxonXQExpression
extends SaxonXQDynamicContext
implements XQExpression

Saxon implementation of the XQJ XQExpression interface

Field Summary

Fields inherited from class net.sf.saxon.xqj.SaxonXQDynamicContext

connection

Method Summary

void
cancel()
protected void
checkNotClosed()
void
close()
void
executeCommand(Reader command)
void
executeCommand(String command)
XQResultSequence
executeQuery(InputStream query)
XQResultSequence
executeQuery(Reader query)
XQResultSequence
executeQuery(String query)
protected SaxonXQDataFactory
getDataFactory()
protected DynamicQueryContext
getDynamicContext()
XQStaticContext
getStaticContext()
boolean
isClosed()

Methods inherited from class net.sf.saxon.xqj.SaxonXQDynamicContext

bindAtomicValue, bindBoolean, bindByte, bindDocument, bindDocument, bindDocument, bindDocument, bindDocument, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, bindString, checkNotClosed, getDataFactory, getDynamicContext, getImplicitTimeZone, setImplicitTimeZone

Method Details

cancel

public void cancel()
            throws XQException
Specified by:
cancel in interface XQExpression

checkNotClosed

protected void checkNotClosed()
            throws XQException
Overrides:
checkNotClosed in interface SaxonXQDynamicContext

close

public void close()
Specified by:
close in interface XQExpression

executeCommand

public void executeCommand(Reader command)
            throws XQException
Specified by:
executeCommand in interface XQExpression

executeCommand

public void executeCommand(String command)
            throws XQException
Specified by:
executeCommand in interface XQExpression

executeQuery

public XQResultSequence executeQuery(InputStream query)
            throws XQException
Specified by:
executeQuery in interface XQExpression

executeQuery

public XQResultSequence executeQuery(Reader query)
            throws XQException
Specified by:
executeQuery in interface XQExpression

executeQuery

public XQResultSequence executeQuery(String query)
            throws XQException
Specified by:
executeQuery in interface XQExpression

getDataFactory

protected SaxonXQDataFactory getDataFactory()
            throws XQException
Overrides:
getDataFactory in interface SaxonXQDynamicContext

getDynamicContext

protected DynamicQueryContext getDynamicContext()
Overrides:
getDynamicContext in interface SaxonXQDynamicContext

getStaticContext

public XQStaticContext getStaticContext()
            throws XQException
Specified by:
getStaticContext in interface XQExpression

isClosed

public boolean isClosed()
Specified by:
isClosed in interface XQExpression