|
||||||||||
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
public abstract class XQAbstractConnection
Constructor Summary | |
---|---|
XQAbstractConnection()
|
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. |
void |
clearWarnings()
Clears the list of warnings associated with this connection. |
void |
close()
Closes the connection. |
void |
commit()
Commits the current transaction. |
XQExpression |
createExpression()
Creates a new Xquery expression object that can be used to perform execute immediate operations with XQuery expressions. |
java.lang.String |
getBaseURI()
Gets the base URI, if set, else the empty string. |
int |
getDefaultCollation()
Gets the default collation defined in the static context. |
java.lang.String |
getDefaultElementTypeNamespace()
Retrieves the default element/type namespace as a string. |
java.lang.String |
getDefaultFunctionNamespace()
Retrieves the default function namespace. |
int |
getDefaultValidationMode()
Gets the default validation mode defined in the static context. |
int |
getDefaultXMLSpacePolicy()
Gets the default XML space policy defined in the static context. |
int |
getHoldability()
Gets the value of the holdability property of this connection. |
java.util.TimeZone |
getImplicitTimeZone()
Gets the implicit timezone. |
java.lang.String[] |
getInScopeNamespacePrefixes()
Returns the prefixes of all the in scope namespace definitions. |
XQMetaData |
getMetaData()
Gets the Metadata for this connection. |
java.lang.String |
getMetaDataProperty(java.lang.String key)
Gets the Value of the connection property indicated by the specified key. |
java.lang.String |
getNamespaceURI(java.lang.String prefix)
Retrieves the namespace URI associated with the prefix. |
int |
getQueryLanguageTypeAndVersion()
Gets the query language type and version. |
int |
getScrollability()
Gets the value of the scrollability property of this connection. |
javax.xml.namespace.QName[] |
getStaticInScopeVariableNames()
Gets the list of all static scope variables defined in the static context. |
XQSequenceType |
getStaticInScopeVariableType(javax.xml.namespace.QName varname)
Gets the type of the static in scope variable. |
java.lang.String[] |
getSupportedMetaDataPropertyNames()
Determines the property names supported by this connection. |
int |
getUpdatability()
Gets the value of the updatability property of this connection. |
XQWarning |
getWarnings()
Gets the first warning in a chained list of warnings associated with this connection. |
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. |
void |
rollback()
Rollsback the current transaction. |
void |
setCommonHandler(XQCommonHandler hdlr)
Sets the default common handler to be used for converting items to and from Java objects in the setObject and getObject methods on an item. |
void |
setHoldability(int holdability)
Sets the holdability of the result sequence. |
void |
setImplicitTimeZone(java.util.TimeZone implicitTimeZone)
Sets the implicit timezone. |
void |
setQueryLanguageAndVersion(int langType)
Sets the input query language type and version. |
void |
setScrollability(int scrollability)
Sets the scrollability of the result sequence. |
void |
setUpdatability(int updatability)
Sets the updatability of the result sequence. |
Methods inherited from class de.fraunhofer.ipsi.ipsixq.api.impl.XQAbstractDataFactory |
---|
createCachedSequence, createCachedSequence, createItem, createItemFromByte, createItemFromDate, createItemFromInt, createItemFromLong, createItemFromString, createItemType, 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, createItemType, createSequenceType, createSequenceType |
Constructor Detail |
---|
public XQAbstractConnection()
Method Detail |
---|
public void clearWarnings() throws XQException
XQConnection
clearWarnings
in interface XQConnection
XQException
public void close() throws XQException
XQConnection
close
in interface XQConnection
XQException
public void commit() throws XQException
XQConnection
commit
in interface XQConnection
XQException
public XQExpression createExpression() throws XQException
XQConnection
createExpression
in interface XQConnection
XQException
public int getHoldability() throws XQException
XQConnection
getHoldability
in interface XQConnection
XQException
public XQMetaData getMetaData() throws XQException
XQConnection
getMetaData
in interface XQConnection
XQException
public java.lang.String getMetaDataProperty(java.lang.String key) throws XQException
XQConnection
getMetaDataProperty
in interface XQConnection
XQException
public int getQueryLanguageTypeAndVersion() throws XQException
XQConnection
getQueryLanguageTypeAndVersion
in interface XQConnection
XQException
public int getScrollability() throws XQException
XQConnection
getScrollability
in interface XQConnection
XQException
public java.lang.String[] getSupportedMetaDataPropertyNames() throws XQException
XQConnection
getSupportedMetaDataPropertyNames
in interface XQConnection
XQException
public int getUpdatability() throws XQException
XQConnection
getUpdatability
in interface XQConnection
XQException
public XQWarning getWarnings() throws XQException
XQConnection
getWarnings
in interface XQConnection
XQException
public boolean isClosed() throws XQException
XQConnection
isClosed
in interface XQConnection
XQException
public XQPreparedExpression prepareExpression(java.io.Reader xquery) throws XQException
XQConnection
prepareExpression
in interface XQConnection
XQException
public XQPreparedExpression prepareExpression(java.lang.String xquery) throws XQException
XQConnection
prepareExpression
in interface XQConnection
XQException
public void rollback() throws XQException
XQConnection
rollback
in interface XQConnection
XQException
public void setCommonHandler(XQCommonHandler hdlr) throws XQException
XQConnection
setCommonHandler
in interface XQConnection
XQException
public void setHoldability(int holdability) throws XQException
XQConnection
setHoldability
in interface XQConnection
XQException
public void setQueryLanguageAndVersion(int langType) throws XQException
XQConnection
setQueryLanguageAndVersion
in interface XQConnection
XQException
public void setScrollability(int scrollability) throws XQException
XQConnection
setScrollability
in interface XQConnection
XQException
public void setUpdatability(int updatability) throws XQException
XQConnection
setUpdatability
in interface XQConnection
XQException
public java.lang.String getBaseURI()
XQStaticContext
getBaseURI
in interface XQStaticContext
public int getDefaultCollation()
XQStaticContext
getDefaultCollation
in interface XQStaticContext
public java.lang.String getDefaultElementTypeNamespace()
XQStaticContext
getDefaultElementTypeNamespace
in interface XQStaticContext
public java.lang.String getDefaultFunctionNamespace()
XQStaticContext
getDefaultFunctionNamespace
in interface XQStaticContext
public int getDefaultValidationMode()
XQStaticContext
getDefaultValidationMode
in interface XQStaticContext
public int getDefaultXMLSpacePolicy()
XQStaticContext
getDefaultXMLSpacePolicy
in interface XQStaticContext
public java.lang.String[] getInScopeNamespacePrefixes()
XQStaticContext
getInScopeNamespacePrefixes
in interface XQStaticContext
public java.lang.String getNamespaceURI(java.lang.String prefix)
XQStaticContext
getNamespaceURI
in interface XQStaticContext
public javax.xml.namespace.QName[] getStaticInScopeVariableNames()
XQStaticContext
getStaticInScopeVariableNames
in interface XQStaticContext
public XQSequenceType getStaticInScopeVariableType(javax.xml.namespace.QName varname)
XQStaticContext
getStaticInScopeVariableType
in interface XQStaticContext
public void bindBase64Binary(javax.xml.namespace.QName varname, java.lang.Byte[] value) throws XQTypeException
XQDynamicContext
bindBase64Binary
in interface XQDynamicContext
XQTypeException
public void bindBoolean(javax.xml.namespace.QName varname, boolean value) throws XQTypeException
XQDynamicContext
bindBoolean
in interface XQDynamicContext
XQTypeException
public void bindByte(javax.xml.namespace.QName varname, byte value) throws XQTypeException
XQDynamicContext
bindByte
in interface XQDynamicContext
XQTypeException
public void bindContextItem(XQItem contextitem) throws XQTypeException
XQDynamicContext
bindContextItem
in interface XQDynamicContext
XQTypeException
public void bindDecimal(javax.xml.namespace.QName varname, java.math.BigDecimal value) throws XQTypeException
XQDynamicContext
bindDecimal
in interface XQDynamicContext
XQTypeException
public void bindDouble(javax.xml.namespace.QName varname, double value) throws XQTypeException
XQDynamicContext
bindDouble
in interface XQDynamicContext
XQTypeException
public void bindFloat(javax.xml.namespace.QName varname, float value) throws XQTypeException
XQDynamicContext
bindFloat
in interface XQDynamicContext
XQTypeException
public void bindHexBinary(javax.xml.namespace.QName varname, java.lang.Byte[] value) throws XQTypeException
XQDynamicContext
bindHexBinary
in interface XQDynamicContext
XQTypeException
public void bindInt(javax.xml.namespace.QName varname, int value) throws XQTypeException
XQDynamicContext
bindInt
in interface XQDynamicContext
XQTypeException
public void bindItem(javax.xml.namespace.QName varname, XQItem item) throws XQTypeException
XQDynamicContext
bindItem
in interface XQDynamicContext
XQTypeException
public void bindLexicalValue(javax.xml.namespace.QName varname, java.lang.String value, XQItemType type) throws XQTypeException
XQDynamicContext
bindLexicalValue
in interface XQDynamicContext
XQTypeException
public void bindLong(javax.xml.namespace.QName varname, long value) throws XQTypeException
XQDynamicContext
bindLong
in interface XQDynamicContext
XQTypeException
public void bindNode(javax.xml.namespace.QName varname, org.w3c.dom.Node node) throws XQTypeException
XQDynamicContext
bindNode
in interface XQDynamicContext
XQTypeException
public void bindNotation(javax.xml.namespace.QName varname, java.lang.String value) throws XQTypeException
XQDynamicContext
bindNotation
in interface XQDynamicContext
XQTypeException
public void bindSequence(javax.xml.namespace.QName varname, XQSequence seq) throws XQTypeException
XQDynamicContext
bindSequence
in interface XQDynamicContext
XQTypeException
public void bindString(javax.xml.namespace.QName varname, java.lang.String value) throws XQTypeException
XQDynamicContext
bindString
in interface XQDynamicContext
XQTypeException
public void bindTime(javax.xml.namespace.QName varname, java.sql.Time value) throws XQTypeException
XQDynamicContext
bindTime
in interface XQDynamicContext
XQTypeException
public void bindTimestamp(javax.xml.namespace.QName varname, java.sql.Timestamp value) throws XQTypeException
XQDynamicContext
bindTimestamp
in interface XQDynamicContext
XQTypeException
public void bindURI(javax.xml.namespace.QName varname, java.net.URI value) throws XQTypeException, XPathDTException
XQDynamicContext
bindURI
in interface XQDynamicContext
XQTypeException
XPathDTException
public java.util.TimeZone getImplicitTimeZone()
XQDynamicContext
getImplicitTimeZone
in interface XQDynamicContext
public void setImplicitTimeZone(java.util.TimeZone implicitTimeZone)
XQDynamicContext
setImplicitTimeZone
in interface XQDynamicContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |