javax.xml.xquery
Interface XQPreparedExpression

All Superinterfaces:
XQDynamicContext, XQExprCommons
All Known Implementing Classes:
XQPreparedExpressionImpl

public interface XQPreparedExpression
extends XQExprCommons

Author:
Michael Stark

Method Summary
 XQResultSequence executeQuery()
          Executes the prepared query expression.
 javax.xml.namespace.QName[] getAllExternalVariables()
          Retrieves all the external variables defined in the prolog of the prepared expression.
 javax.xml.namespace.QName[] getAllUnboundExternalVariables()
          Retrieves the names of all unbound external variables.
 XQSequenceType getStaticResultType()
          Gets the static type information of the result sequence.
 XQSequenceType getStaticVariableType(javax.xml.namespace.QName name)
          Retrieves the static type of a given external variable.
 
Methods inherited from interface javax.xml.xquery.XQExprCommons
cancel, clearWarnings, close, getQueryTimeout, getWarnings, isClosed, setQueryTimeout
 
Methods inherited from interface javax.xml.xquery.XQDynamicContext
bindBase64Binary, bindBoolean, bindByte, bindContextItem, bindDecimal, bindDouble, bindFloat, bindHexBinary, bindInt, bindItem, bindLexicalValue, bindLong, bindNode, bindNotation, bindSequence, bindString, bindTime, bindTimestamp, bindURI, getImplicitTimeZone, setImplicitTimeZone
 

Method Detail

executeQuery

XQResultSequence executeQuery()
                              throws XQException
Executes the prepared query expression.

Throws:
XQException

getAllExternalVariables

javax.xml.namespace.QName[] getAllExternalVariables()
                                                    throws XQException
Retrieves all the external variables defined in the prolog of the prepared expression.

Throws:
XQException

getAllUnboundExternalVariables

javax.xml.namespace.QName[] getAllUnboundExternalVariables()
                                                           throws XQException
Retrieves the names of all unbound external variables.

Throws:
XQException

getStaticResultType

XQSequenceType getStaticResultType()
                                   throws XQException
Gets the static type information of the result sequence.

Throws:
XQException

getStaticVariableType

XQSequenceType getStaticVariableType(javax.xml.namespace.QName name)
                                     throws XQException
Retrieves the static type of a given external variable.

Throws:
XQException