net.sf.saxon.xqj
Class SaxonXQExpression

java.lang.Object
  extended bynet.sf.saxon.xqj.SaxonXQDynamicContext
      extended bynet.sf.saxon.xqj.SaxonXQExpression
All Implemented Interfaces:
XQDynamicContext, XQExpression

public class SaxonXQExpression
extends SaxonXQDynamicContext
implements XQExpression


Method Summary
 void cancel()
           
protected  void checkNotClosed()
           
 void clearWarnings()
           
 void close()
           
 void executeCommand(java.io.Reader command)
           
 void executeCommand(java.lang.String command)
           
 XQResultSequence executeQuery(java.io.InputStream query)
           
 XQResultSequence executeQuery(java.io.Reader query)
           
 XQResultSequence executeQuery(java.lang.String query)
           
protected  SaxonXQDataFactory getDataFactory()
           
protected  DynamicQueryContext getDynamicContext()
           
 int getQueryLanguageTypeAndVersion()
           
 int getQueryTimeout()
           
 XQWarning getWarnings()
           
 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
 

Method Detail

getDynamicContext

protected DynamicQueryContext getDynamicContext()
Specified by:
getDynamicContext in class SaxonXQDynamicContext

getDataFactory

protected SaxonXQDataFactory getDataFactory()
                                     throws XQException
Specified by:
getDataFactory in class SaxonXQDynamicContext
Throws:
XQException

checkNotClosed

protected void checkNotClosed()
                       throws XQException
Specified by:
checkNotClosed in class SaxonXQDynamicContext
Throws:
XQException

cancel

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

clearWarnings

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

close

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

executeCommand

public void executeCommand(java.io.Reader command)
                    throws XQException
Specified by:
executeCommand in interface XQExpression
Throws:
XQException

executeCommand

public void executeCommand(java.lang.String command)
                    throws XQException
Specified by:
executeCommand in interface XQExpression
Throws:
XQException

executeQuery

public XQResultSequence executeQuery(java.io.InputStream query)
                              throws XQException
Specified by:
executeQuery in interface XQExpression
Throws:
XQException

executeQuery

public XQResultSequence executeQuery(java.io.Reader query)
                              throws XQException
Specified by:
executeQuery in interface XQExpression
Throws:
XQException

executeQuery

public XQResultSequence executeQuery(java.lang.String query)
                              throws XQException
Specified by:
executeQuery in interface XQExpression
Throws:
XQException

getQueryLanguageTypeAndVersion

public int getQueryLanguageTypeAndVersion()
                                   throws XQException
Specified by:
getQueryLanguageTypeAndVersion in interface XQExpression
Throws:
XQException

getQueryTimeout

public int getQueryTimeout()
                    throws XQException
Specified by:
getQueryTimeout in interface XQExpression
Throws:
XQException

getWarnings

public XQWarning getWarnings()
                      throws XQException
Specified by:
getWarnings in interface XQExpression
Throws:
XQException

isClosed

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

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws XQException
Specified by:
setQueryTimeout in interface XQExpression
Throws:
XQException