MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

ch.ethz.mxquery.xqj
Class MXQueryXQPreparedExpression

java.lang.Object
  extended by ch.ethz.mxquery.xqj.MXQueryXQDynamicContext
      extended by ch.ethz.mxquery.xqj.MXQueryXQPreparedExpression
All Implemented Interfaces:
javax.xml.xquery.XQDynamicContext, javax.xml.xquery.XQPreparedExpression

public class MXQueryXQPreparedExpression
extends MXQueryXQDynamicContext
implements javax.xml.xquery.XQPreparedExpression


Method Summary
 void cancel()
           
 void clearWarnings()
           
 void close()
           
 javax.xml.xquery.XQResultSequence executeQuery()
           
 javax.xml.namespace.QName[] getAllExternalVariables()
           
 javax.xml.namespace.QName[] getAllUnboundExternalVariables()
           
 int getQueryTimeout()
           
 javax.xml.xquery.XQStaticContext getStaticContext()
           
 javax.xml.xquery.XQSequenceType getStaticResultType()
           
 javax.xml.xquery.XQSequenceType getStaticVariableType(javax.xml.namespace.QName name)
           
 boolean isClosed()
           
 void setQueryTimeout(int seconds)
           
 
Methods inherited from class ch.ethz.mxquery.xqj.MXQueryXQDynamicContext
bindAtomicValue, bindBoolean, bindByte, bindContextItem, bindDocument, 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 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 javax.xml.xquery.XQException
Specified by:
cancel in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

clearWarnings

public void clearWarnings()
                   throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

close

public void close()
           throws javax.xml.xquery.XQException
Specified by:
close in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

executeQuery

public javax.xml.xquery.XQResultSequence executeQuery()
                                               throws javax.xml.xquery.XQException
Specified by:
executeQuery in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

getAllExternalVariables

public javax.xml.namespace.QName[] getAllExternalVariables()
                                                    throws javax.xml.xquery.XQException
Specified by:
getAllExternalVariables in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

getQueryTimeout

public int getQueryTimeout()
                    throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

getStaticResultType

public javax.xml.xquery.XQSequenceType getStaticResultType()
                                                    throws javax.xml.xquery.XQException
Specified by:
getStaticResultType in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

getStaticVariableType

public javax.xml.xquery.XQSequenceType getStaticVariableType(javax.xml.namespace.QName name)
                                                      throws javax.xml.xquery.XQException
Specified by:
getStaticVariableType in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

isClosed

public boolean isClosed()
Specified by:
isClosed in interface javax.xml.xquery.XQPreparedExpression
Overrides:
isClosed in class MXQueryXQDynamicContext

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws javax.xml.xquery.XQException
Throws:
javax.xml.xquery.XQException

getAllUnboundExternalVariables

public javax.xml.namespace.QName[] getAllUnboundExternalVariables()
                                                           throws javax.xml.xquery.XQException
Specified by:
getAllUnboundExternalVariables in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

getStaticContext

public javax.xml.xquery.XQStaticContext getStaticContext()
                                                  throws javax.xml.xquery.XQException
Specified by:
getStaticContext in interface javax.xml.xquery.XQPreparedExpression
Throws:
javax.xml.xquery.XQException

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich

MXQuery 0.6.0 API Documentation - Copyright 2006-2009 ETH Zurich