net.sf.saxon.xqj
Class SaxonXQExpression

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

public class SaxonXQExpression
extends SaxonXQDynamicContext
implements XQExpression

Saxon implementation of the XQJ XQExpression interface


Method Summary
 void cancel()
           
 void close()
           
 void executeCommand(Reader command)
           
 void executeCommand(String command)
           
 XQResultSequence executeQuery(InputStream query)
           
 XQResultSequence executeQuery(Reader query)
           
 XQResultSequence executeQuery(String query)
           
 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, getImplicitTimeZone, setImplicitTimeZone
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.saxon.javax.xml.xquery.XQDynamicContext
bindAtomicValue, bindBoolean, bindByte, bindDocument, bindDocument, bindDocument, bindDocument, bindDocument, bindDocument, bindDouble, bindFloat, bindInt, bindItem, bindLong, bindNode, bindObject, bindSequence, bindShort, bindString, getImplicitTimeZone, setImplicitTimeZone
 

Method Detail

cancel

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

close

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

executeCommand

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

executeCommand

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

executeQuery

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

executeQuery

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

executeQuery

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

getStaticContext

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

isClosed

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


Copyright (C) Michael H. Kay. All rights reserved.