|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractDataFactory
de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractConnection
de.fraunhofer.ipsi.ipsixq.api.impl.XQConnectionImpl
public class XQConnectionImpl
Constructor Summary | |
---|---|
XQConnectionImpl()
|
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 connection. |
XQExpression |
createExpression()
Creates a new Xquery expression object that can be used to perform execute immediate operations with XQuery expressions. |
XQItemType |
createItemType(int itemtype,
javax.xml.namespace.QName nodename,
javax.xml.namespace.QName typename,
boolean nillable)
Creates a new item type given the node name and type names. |
boolean |
isClosed()
Checks if the connection is closed. |
XQPreparedExpression |
prepareExpression(java.io.Reader xquery)
Prepares an expression for execution (input xquery reader). |
XQPreparedExpression |
prepareExpression(java.lang.String xquery)
Prepares an expression for execution. |
Methods inherited from class de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractDataFactory |
---|
createCachedSequence, createCachedSequence, createItem, createItemFromByte, createItemFromDate, createItemFromInt, createItemFromLong, createItemFromString, createItemType, createSequenceType, createSequenceType |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.xml.xquery.XQDataFactory |
---|
createCachedSequence, createCachedSequence, createItem, createItemFromByte, createItemFromDate, createItemFromInt, createItemFromLong, createItemFromString, createItemType, createSequenceType, createSequenceType |
Constructor Detail |
---|
public XQConnectionImpl()
Method Detail |
---|
public void close() throws XQException
XQConnection
close
in interface XQConnection
close
in class XQAbstractConnection
XQException
public XQExpression createExpression() throws XQException
XQConnection
createExpression
in interface XQConnection
createExpression
in class XQAbstractConnection
XQException
public boolean isClosed()
XQConnection
isClosed
in interface XQConnection
isClosed
in class XQAbstractConnection
public XQPreparedExpression prepareExpression(java.io.Reader xquery) throws XQException
XQConnection
prepareExpression
in interface XQConnection
prepareExpression
in class XQAbstractConnection
XQException
public XQPreparedExpression prepareExpression(java.lang.String xquery) throws XQException
XQConnection
prepareExpression
in interface XQConnection
prepareExpression
in class XQAbstractConnection
XQException
public void bindBoolean(javax.xml.namespace.QName varname, boolean value) throws XQTypeException
XQDynamicContext
bindBoolean
in interface XQDynamicContext
bindBoolean
in class XQAbstractConnection
XQTypeException
public void bindDouble(javax.xml.namespace.QName varname, double value) throws XQTypeException
XQDynamicContext
bindDouble
in interface XQDynamicContext
bindDouble
in class XQAbstractConnection
XQTypeException
public void bindFloat(javax.xml.namespace.QName varname, float value) throws XQTypeException
XQDynamicContext
bindFloat
in interface XQDynamicContext
bindFloat
in class XQAbstractConnection
XQTypeException
public void bindInt(javax.xml.namespace.QName varname, int value) throws XQTypeException
XQDynamicContext
bindInt
in interface XQDynamicContext
bindInt
in class XQAbstractConnection
XQTypeException
public void bindLong(javax.xml.namespace.QName varname, long value) throws XQTypeException
XQDynamicContext
bindLong
in interface XQDynamicContext
bindLong
in class XQAbstractConnection
XQTypeException
public void bindString(javax.xml.namespace.QName varname, java.lang.String value) throws XQTypeException
XQDynamicContext
bindString
in interface XQDynamicContext
bindString
in class XQAbstractConnection
XQTypeException
public void bindByte(javax.xml.namespace.QName varname, byte value) throws XQTypeException
XQDynamicContext
bindByte
in interface XQDynamicContext
bindByte
in class XQAbstractConnection
XQTypeException
public void bindDecimal(javax.xml.namespace.QName varname, java.math.BigDecimal value) throws XQTypeException
XQDynamicContext
bindDecimal
in interface XQDynamicContext
bindDecimal
in class XQAbstractConnection
XQTypeException
public void bindURI(javax.xml.namespace.QName varname, java.net.URI value) throws XQTypeException, XPathDTException
XQDynamicContext
bindURI
in interface XQDynamicContext
bindURI
in class XQAbstractConnection
XQTypeException
XPathDTException
public void bindNode(javax.xml.namespace.QName varname, org.w3c.dom.Node node) throws XQTypeException
XQDynamicContext
bindNode
in interface XQDynamicContext
bindNode
in class XQAbstractConnection
XQTypeException
public XQItemType createItemType(int itemtype, javax.xml.namespace.QName nodename, javax.xml.namespace.QName typename, boolean nillable) throws XQException
XQDataFactory
createItemType
in interface XQDataFactory
createItemType
in class XQAbstractDataFactory
XQException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |