XQDynamicContext Interface


This interface provides get and bind methods for the components of the dynamic context of an XQuery expression. This interface is implemented through XQExpression and XQPreparedExpression.

Table G-4 describes how DataDirect XQuery supports the methods of the XQDynamicContext interface.

Table G-4. XQDynamicContext Method Summary 
Method
Support
void bindAtomicValue(QName varName, String value, XQItemType type)
Supported.
void bindBoolean(QName varName, boolean value, XQItemType type)
Supported.
void bindByte(QName varname, byte value, XQItemType type)
Supported.
void bindDocument(QName varName, InputStream value,
String baseURI, XQItemType type)
Supported.
void bindDocument(QName varName, Reader value,
String baseURI, XQItemType type)
Supported.
void bindDocument(namespaceQName varName, Source value,
XQItemType type)
Supported.
void bindDocument(QName varName, String value,
String baseURI, XQItemType type)
Supported.
void bindDocument(QName varName, XMLStreamReader value,
XQItemType type)
Supported.
void bindDouble(QName varName, double value, XQItemType type)
Supported.
void bindFloat(QName varName, float value, XQItemType type)
Supported.
void bindInt(QName varName, int value, XQItemType type)
Supported.
void bindItem(QName varName, XQItem value)
Supported.
void bindLong(QName varName, long value, XQItemType type)
Supported.
void bindNode(QName varName, Node value, XQItemType type)
Supported.
void bindObject(QName varName, Object value, XQItemType type)
Supported.
void bindSequence(QName varName, XQSequence value)
Supported.
void bindShort(QName varName, short value, XQItemType type)
Supported.
void bindString(QName varName, String value, XQItemType type)
Supported.
TimeZone getImplicitTimeZone( )
Not supported.
void setImplicitTimeZone(TimeZone implicitTimeZone)
Not supported.