org.exist.xqj
Class XQExpression

java.lang.Object
  extended by org.exist.xqj.XQExpression
All Implemented Interfaces:
javax.xml.xquery.XQDynamicContext, javax.xml.xquery.XQExpression

public class XQExpression
extends Object
implements javax.xml.xquery.XQExpression

Author:
Adam Retter

Constructor Summary
XQExpression()
           
XQExpression(DBBroker broker)
           
 
Method Summary
 void bindAtomicValue(QName varname, String value, javax.xml.xquery.XQItemType type)
           
 void bindBoolean(QName varname, boolean value, javax.xml.xquery.XQItemType type)
           
 void bindByte(QName varName, byte value, javax.xml.xquery.XQItemType type)
           
 void bindContextItem(javax.xml.xquery.XQItem contextitem)
           
 void bindDocument(QName varname, InputSource source)
           
 void bindDouble(QName varName, double value, javax.xml.xquery.XQItemType type)
           
 void bindFloat(QName varName, float value, javax.xml.xquery.XQItemType type)
           
 void bindInt(QName varName, int value, javax.xml.xquery.XQItemType type)
           
 void bindItem(QName varName, javax.xml.xquery.XQItem value)
           
 void bindLong(QName varName, long value, javax.xml.xquery.XQItemType type)
           
 void bindNode(QName varName, Node value, javax.xml.xquery.XQItemType type)
           
 void bindObject(QName varName, Object value, javax.xml.xquery.XQItemType type)
           
 void bindSequence(QName varName, javax.xml.xquery.XQSequence value)
           
 void bindShort(QName varName, short value, javax.xml.xquery.XQItemType type)
           
 void cancel()
           
 void clearWarnings()
           
 void close()
           
 void executeCommand(Reader command)
           
 void executeCommand(String command)
           
 javax.xml.xquery.XQResultSequence executeQuery(InputStream query)
           
 javax.xml.xquery.XQResultSequence executeQuery(Reader query)
           
 javax.xml.xquery.XQResultSequence executeQuery(String query)
           
 TimeZone getImplicitTimeZone()
           
 int getQueryLanguageTypeAndVersion()
           
 int getQueryTimeout()
           
 javax.xml.xquery.XQWarning getWarnings()
           
 boolean isClosed()
           
 void setImplicitTimeZone(TimeZone implicitTimeZone)
           
 void setQueryTimeout(int seconds)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XQExpression

public XQExpression()

XQExpression

public XQExpression(DBBroker broker)
Method Detail

cancel

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

clearWarnings

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

close

public void close()
Specified by:
close in interface javax.xml.xquery.XQExpression

executeCommand

public void executeCommand(Reader command)
                    throws javax.xml.xquery.XQException
Specified by:
executeCommand in interface javax.xml.xquery.XQExpression
Throws:
javax.xml.xquery.XQException

executeCommand

public void executeCommand(String command)
                    throws javax.xml.xquery.XQException
Specified by:
executeCommand in interface javax.xml.xquery.XQExpression
Throws:
javax.xml.xquery.XQException

executeQuery

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

executeQuery

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

executeQuery

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

getQueryLanguageTypeAndVersion

public int getQueryLanguageTypeAndVersion()
                                   throws javax.xml.xquery.XQException
Specified by:
getQueryLanguageTypeAndVersion in interface javax.xml.xquery.XQExpression
Throws:
javax.xml.xquery.XQException

getQueryTimeout

public int getQueryTimeout()
                    throws javax.xml.xquery.XQException
Specified by:
getQueryTimeout in interface javax.xml.xquery.XQExpression
Throws:
javax.xml.xquery.XQException

getWarnings

public javax.xml.xquery.XQWarning getWarnings()
                                       throws javax.xml.xquery.XQException
Specified by:
getWarnings in interface javax.xml.xquery.XQExpression
Throws:
javax.xml.xquery.XQException

isClosed

public boolean isClosed()
Specified by:
isClosed in interface javax.xml.xquery.XQExpression

setQueryTimeout

public void setQueryTimeout(int seconds)
                     throws javax.xml.xquery.XQException
Specified by:
setQueryTimeout in interface javax.xml.xquery.XQExpression
Throws:
javax.xml.xquery.XQException

bindAtomicValue

public void bindAtomicValue(QName varname,
                            String value,
                            javax.xml.xquery.XQItemType type)
                     throws javax.xml.xquery.XQException
Specified by:
bindAtomicValue in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindBoolean

public void bindBoolean(QName varname,
                        boolean value,
                        javax.xml.xquery.XQItemType type)
                 throws javax.xml.xquery.XQException
Specified by:
bindBoolean in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindByte

public void bindByte(QName varName,
                     byte value,
                     javax.xml.xquery.XQItemType type)
              throws javax.xml.xquery.XQException
Specified by:
bindByte in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindContextItem

public void bindContextItem(javax.xml.xquery.XQItem contextitem)
                     throws javax.xml.xquery.XQException
Specified by:
bindContextItem in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindDocument

public void bindDocument(QName varname,
                         InputSource source)
                  throws javax.xml.xquery.XQException
Specified by:
bindDocument in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindDouble

public void bindDouble(QName varName,
                       double value,
                       javax.xml.xquery.XQItemType type)
                throws javax.xml.xquery.XQException
Specified by:
bindDouble in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindFloat

public void bindFloat(QName varName,
                      float value,
                      javax.xml.xquery.XQItemType type)
               throws javax.xml.xquery.XQException
Specified by:
bindFloat in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindInt

public void bindInt(QName varName,
                    int value,
                    javax.xml.xquery.XQItemType type)
             throws javax.xml.xquery.XQException
Specified by:
bindInt in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindItem

public void bindItem(QName varName,
                     javax.xml.xquery.XQItem value)
              throws javax.xml.xquery.XQException
Specified by:
bindItem in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindLong

public void bindLong(QName varName,
                     long value,
                     javax.xml.xquery.XQItemType type)
              throws javax.xml.xquery.XQException
Specified by:
bindLong in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindNode

public void bindNode(QName varName,
                     Node value,
                     javax.xml.xquery.XQItemType type)
              throws javax.xml.xquery.XQException
Specified by:
bindNode in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindObject

public void bindObject(QName varName,
                       Object value,
                       javax.xml.xquery.XQItemType type)
                throws javax.xml.xquery.XQException
Specified by:
bindObject in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindSequence

public void bindSequence(QName varName,
                         javax.xml.xquery.XQSequence value)
                  throws javax.xml.xquery.XQException
Specified by:
bindSequence in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

bindShort

public void bindShort(QName varName,
                      short value,
                      javax.xml.xquery.XQItemType type)
               throws javax.xml.xquery.XQException
Specified by:
bindShort in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

getImplicitTimeZone

public TimeZone getImplicitTimeZone()
                             throws javax.xml.xquery.XQException
Specified by:
getImplicitTimeZone in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException

setImplicitTimeZone

public void setImplicitTimeZone(TimeZone implicitTimeZone)
                         throws javax.xml.xquery.XQException
Specified by:
setImplicitTimeZone in interface javax.xml.xquery.XQDynamicContext
Throws:
javax.xml.xquery.XQException


Copyright (C) Wolfgang Meier. All rights reserved.