de.fraunhofer.ipsi.ipsixq.api.impl
Class XQExprCommonsImpl

java.lang.Object
  extended by de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractExprCommons
      extended by de.fraunhofer.ipsi.ipsixq.api.impl.XQExprCommonsImpl
All Implemented Interfaces:
XQDynamicContext, XQExprCommons
Direct Known Subclasses:
XQExpressionImpl, XQPreparedExpressionImpl

public abstract class XQExprCommonsImpl
extends XQAbstractExprCommons

Author:
Michael Stark

Constructor Summary
XQExprCommonsImpl(StaticContext staticContext, EvaluationContext dynamicContext)
           
 
Method Summary
 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 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 bindInt(javax.xml.namespace.QName varname, int value)
          Binds an integer 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 bindString(javax.xml.namespace.QName varname, java.lang.String value)
          Binds a string value to the given variable.
 void bindURI(javax.xml.namespace.QName varname, java.net.URI value)
          Binds a URI value to the given external variable.
 void close()
          Closes the expression object and release associated resources.
 boolean isClosed()
          Checks if the expression is in a closed state.
 
Methods inherited from class de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractExprCommons
bindBase64Binary, bindContextItem, bindHexBinary, bindItem, bindLexicalValue, bindNotation, bindSequence, bindTime, bindTimestamp, cancel, clearWarnings, getImplicitTimeZone, getQueryTimeout, getWarnings, setImplicitTimeZone, setQueryTimeout
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQExprCommonsImpl

public XQExprCommonsImpl(StaticContext staticContext,
                         EvaluationContext dynamicContext)
Method Detail

close

public void close()
           throws XQException
Description copied from interface: XQExprCommons
Closes the expression object and release associated resources.

Specified by:
close in interface XQExprCommons
Overrides:
close in class XQAbstractExprCommons
Throws:
XQException

isClosed

public boolean isClosed()
Description copied from interface: XQExprCommons
Checks if the expression is in a closed state.

Specified by:
isClosed in interface XQExprCommons
Overrides:
isClosed in class XQAbstractExprCommons

bindBoolean

public void bindBoolean(javax.xml.namespace.QName varname,
                        boolean value)
                 throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a boolean value to the given external variable.

Specified by:
bindBoolean in interface XQDynamicContext
Overrides:
bindBoolean in class XQAbstractExprCommons
Throws:
XQTypeException

bindDouble

public void bindDouble(javax.xml.namespace.QName varname,
                       double value)
                throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a double value to the given external variable.

Specified by:
bindDouble in interface XQDynamicContext
Overrides:
bindDouble in class XQAbstractExprCommons
Throws:
XQTypeException

bindFloat

public void bindFloat(javax.xml.namespace.QName varname,
                      float value)
               throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a float value to the given external variable.

Specified by:
bindFloat in interface XQDynamicContext
Overrides:
bindFloat in class XQAbstractExprCommons
Throws:
XQTypeException

bindInt

public void bindInt(javax.xml.namespace.QName varname,
                    int value)
             throws XQTypeException
Description copied from interface: XQDynamicContext
Binds an integer value to the given external variable.

Specified by:
bindInt in interface XQDynamicContext
Overrides:
bindInt in class XQAbstractExprCommons
Throws:
XQTypeException

bindLong

public void bindLong(javax.xml.namespace.QName varname,
                     long value)
              throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a long value to the given external variable.

Specified by:
bindLong in interface XQDynamicContext
Overrides:
bindLong in class XQAbstractExprCommons
Throws:
XQTypeException

bindString

public void bindString(javax.xml.namespace.QName varname,
                       java.lang.String value)
                throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a string value to the given variable.

Specified by:
bindString in interface XQDynamicContext
Overrides:
bindString in class XQAbstractExprCommons
Throws:
XQTypeException

bindByte

public void bindByte(javax.xml.namespace.QName varname,
                     byte value)
              throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a byte value to the given external variable.

Specified by:
bindByte in interface XQDynamicContext
Overrides:
bindByte in class XQAbstractExprCommons
Throws:
XQTypeException

bindDecimal

public void bindDecimal(javax.xml.namespace.QName varname,
                        java.math.BigDecimal value)
                 throws XQTypeException
Description copied from interface: XQDynamicContext
Binds a big decimal value to the given external variable.

Specified by:
bindDecimal in interface XQDynamicContext
Overrides:
bindDecimal in class XQAbstractExprCommons
Throws:
XQTypeException

bindURI

public void bindURI(javax.xml.namespace.QName varname,
                    java.net.URI value)
             throws XQTypeException,
                    XPathDTException
Description copied from interface: XQDynamicContext
Binds a URI value to the given external variable.

Specified by:
bindURI in interface XQDynamicContext
Overrides:
bindURI in class XQAbstractExprCommons
Throws:
XQTypeException
XPathDTException

bindNode

public void bindNode(javax.xml.namespace.QName varname,
                     org.w3c.dom.Node node)
              throws XQTypeException
Description copied from interface: XQDynamicContext
Binds an XML node.

Specified by:
bindNode in interface XQDynamicContext
Overrides:
bindNode in class XQAbstractExprCommons
Throws:
XQTypeException