javax.xml.xquery
Interface XQDynamicContext

All Known Subinterfaces:
XQConnection, XQExprCommons, XQExpression, XQPreparedExpression
All Known Implementing Classes:
XQAbstractConnection, XQAbstractExprCommons, XQConnectionImpl, XQExprCommonsImpl, XQExpressionImpl, XQPreparedExpressionImpl

public interface XQDynamicContext

Author:
Michael Stark

Method Summary
 void bindBase64Binary(javax.xml.namespace.QName varname, java.lang.Byte[] value)
          Binds a base64 binary value to the given external variable.
 void bindBoolean(javax.xml.namespace.QName varname, boolean value)
          Binds a boolean value to the given external variable.
 void bindByte(javax.xml.namespace.QName varname, byte value)
          Binds a byte value to the given external variable.
 void bindContextItem(XQItem contextitem)
          Binds an XQuery item object for context.
 void bindDecimal(javax.xml.namespace.QName varname, java.math.BigDecimal value)
          Binds a big decimal value to the given external variable.
 void bindDouble(javax.xml.namespace.QName varname, double value)
          Binds a double value to the given external variable.
 void bindFloat(javax.xml.namespace.QName varname, float value)
          Binds a float value to the given external variable.
 void bindHexBinary(javax.xml.namespace.QName varname, java.lang.Byte[] value)
          Binds a hexadecimal value to the given external variable.
 void bindInt(javax.xml.namespace.QName varname, int value)
          Binds an integer value to the given external variable.
 void bindItem(javax.xml.namespace.QName varname, XQItem item)
          Binds an item to this variable.
 void bindLexicalValue(javax.xml.namespace.QName varname, java.lang.String value, XQItemType type)
          Binds a lexical value to the given external variable.
 void bindLong(javax.xml.namespace.QName varname, long value)
          Binds a long value to the given external variable.
 void bindNode(javax.xml.namespace.QName varname, org.w3c.dom.Node node)
          Binds an XML node.
 void bindNotation(javax.xml.namespace.QName varname, java.lang.String value)
          Binds a Notation value to the given external variable.
 void bindSequence(javax.xml.namespace.QName varname, XQSequence seq)
          Binds a variable to the sequence of items contained in the input.
 void bindString(javax.xml.namespace.QName varname, java.lang.String value)
          Binds a string value to the given variable.
 void bindTime(javax.xml.namespace.QName varname, java.sql.Time value)
          Binds a time value to the given external variable.
 void bindTimestamp(javax.xml.namespace.QName varname, java.sql.Timestamp value)
          Binds a timestamp value to the given external variable.
 void bindURI(javax.xml.namespace.QName varname, java.net.URI value)
          Binds a URI value to the given external variable.
 java.util.TimeZone getImplicitTimeZone()
          Gets the implicit timezone.
 void setImplicitTimeZone(java.util.TimeZone implicitTimeZone)
          Sets the implicit timezone.
 

Method Detail

bindBase64Binary

void bindBase64Binary(javax.xml.namespace.QName varname,
                      java.lang.Byte[] value)
                      throws XQTypeException
Binds a base64 binary value to the given external variable.

Throws:
XQTypeException

bindBoolean

void bindBoolean(javax.xml.namespace.QName varname,
                 boolean value)
                 throws XQTypeException
Binds a boolean value to the given external variable.

Throws:
XQTypeException

bindByte

void bindByte(javax.xml.namespace.QName varname,
              byte value)
              throws XQTypeException
Binds a byte value to the given external variable.

Throws:
XQTypeException

bindContextItem

void bindContextItem(XQItem contextitem)
                     throws XQTypeException
Binds an XQuery item object for context.

Throws:
XQTypeException

bindDecimal

void bindDecimal(javax.xml.namespace.QName varname,
                 java.math.BigDecimal value)
                 throws XQTypeException
Binds a big decimal value to the given external variable.

Throws:
XQTypeException

bindDouble

void bindDouble(javax.xml.namespace.QName varname,
                double value)
                throws XQTypeException
Binds a double value to the given external variable.

Throws:
XQTypeException

bindFloat

void bindFloat(javax.xml.namespace.QName varname,
               float value)
               throws XQTypeException
Binds a float value to the given external variable.

Throws:
XQTypeException

bindHexBinary

void bindHexBinary(javax.xml.namespace.QName varname,
                   java.lang.Byte[] value)
                   throws XQTypeException
Binds a hexadecimal value to the given external variable.

Throws:
XQTypeException

bindInt

void bindInt(javax.xml.namespace.QName varname,
             int value)
             throws XQTypeException
Binds an integer value to the given external variable.

Throws:
XQTypeException

bindItem

void bindItem(javax.xml.namespace.QName varname,
              XQItem item)
              throws XQTypeException
Binds an item to this variable.

Throws:
XQTypeException

bindLexicalValue

void bindLexicalValue(javax.xml.namespace.QName varname,
                      java.lang.String value,
                      XQItemType type)
                      throws XQTypeException
Binds a lexical value to the given external variable.

Throws:
XQTypeException

bindLong

void bindLong(javax.xml.namespace.QName varname,
              long value)
              throws XQTypeException
Binds a long value to the given external variable.

Throws:
XQTypeException

bindNode

void bindNode(javax.xml.namespace.QName varname,
              org.w3c.dom.Node node)
              throws XQTypeException
Binds an XML node.

Throws:
XQTypeException

bindNotation

void bindNotation(javax.xml.namespace.QName varname,
                  java.lang.String value)
                  throws XQTypeException
Binds a Notation value to the given external variable.

Throws:
XQTypeException

bindSequence

void bindSequence(javax.xml.namespace.QName varname,
                  XQSequence seq)
                  throws XQTypeException
Binds a variable to the sequence of items contained in the input.

Throws:
XQTypeException

bindString

void bindString(javax.xml.namespace.QName varname,
                java.lang.String value)
                throws XQTypeException
Binds a string value to the given variable.

Throws:
XQTypeException

bindTime

void bindTime(javax.xml.namespace.QName varname,
              java.sql.Time value)
              throws XQTypeException
Binds a time value to the given external variable.

Throws:
XQTypeException

bindTimestamp

void bindTimestamp(javax.xml.namespace.QName varname,
                   java.sql.Timestamp value)
                   throws XQTypeException
Binds a timestamp value to the given external variable.

Throws:
XQTypeException

bindURI

void bindURI(javax.xml.namespace.QName varname,
             java.net.URI value)
             throws XQTypeException,
                    XPathDTException
Binds a URI value to the given external variable.

Throws:
XQTypeException
XPathDTException

getImplicitTimeZone

java.util.TimeZone getImplicitTimeZone()
Gets the implicit timezone.


setImplicitTimeZone

void setImplicitTimeZone(java.util.TimeZone implicitTimeZone)
Sets the implicit timezone.