public interface TXQConnection
extends com.softwareag.tamino.xqj.TXQConnection
Modifier and Type | Method and Description |
---|---|
javax.xml.xquery.XQItem |
createItemFromString(java.lang.String paramString,
javax.xml.xquery.XQItemType paramXQItemType)
Creates a new XQItem based on the input string
|
javax.xml.xquery.XQItemType |
createItemType(int itemtype,
javax.xml.namespace.QName nodename,
javax.xml.namespace.QName typename,
boolean nillable)
Creates a particular itemkind with a specific
basetype based on itemtype and typename respectively
|
javax.xml.xquery.XQSequence |
createSequence(java.util.Iterator iterator)
Creates a new sequence based on the iterator which is a collection of XQItems
|
javax.xml.xquery.XQSequence |
createSequence(javax.xml.xquery.XQSequence xqsequence)
Creates a new sequence with the input sequence
|
java.lang.String |
getProperty(java.lang.String propertyName)
Returns the current value of the named property, or null if not set.
|
java.lang.String |
getServerVersion()
Gets the server version
|
javax.xml.xquery.XQStaticContext |
getStaticContext()
Returns the static context associated with the connection
|
java.lang.Object |
getTConnection()
Gets the underlying TConnection (TAJ connection) object.
|
boolean |
isAlive()
Returns TRUE if the underlying connection is alive, otherwise FALSE.
|
void |
setProperty(java.lang.String propertyName,
java.lang.String propertyValue)
If a property with the same name is already set, then this method
overwrites the old value for that property with the new value.
|
close, commit, createExpression, createExpression, getAutoCommit, getMetaData, isClosed, prepareExpression, prepareExpression, prepareExpression, prepareExpression, prepareExpression, prepareExpression, rollback, setAutoCommit, setStaticContext
createAtomicType, createAtomicType, createAttributeType, createAttributeType, createCommentType, createDocumentElementType, createDocumentSchemaElementType, createDocumentType, createElementType, createElementType, createItem, createItemFromAtomicValue, createItemFromBoolean, createItemFromByte, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDouble, createItemFromFloat, createItemFromInt, createItemFromLong, createItemFromNode, createItemFromObject, createItemFromShort, createItemType, createNodeType, createProcessingInstructionType, createSchemaAttributeType, createSchemaElementType, createSequenceType, createTextType
java.lang.String getProperty(java.lang.String propertyName) throws javax.xml.xquery.XQException
propertyName
- - The name of the property to set.javax.xml.xquery.XQException
- - If the implementation does not support the given property or
if it determines that the value given given for this property is invalid, then an exception is raised.void setProperty(java.lang.String propertyName, java.lang.String propertyValue) throws javax.xml.xquery.XQException
propertyName
- - The name of the property to set.propertyValue
- - The value of the named property.javax.xml.xquery.XQException
- - If the implementation does not support the given property or if it can
determine that the value given for this property is invalid, then an exception is raised.java.lang.String getServerVersion() throws javax.xml.xquery.XQException
javax.xml.xquery.XQException
java.lang.Object getTConnection()
javax.xml.xquery.XQItemType createItemType(int itemtype, javax.xml.namespace.QName nodename, javax.xml.namespace.QName typename, boolean nillable) throws javax.xml.xquery.XQException
itemtype
- nodename
- typename
- nillable
- javax.xml.xquery.XQException
boolean isAlive()
javax.xml.xquery.XQSequence createSequence(javax.xml.xquery.XQSequence xqsequence) throws javax.xml.xquery.XQException
createSequence
in interface javax.xml.xquery.XQDataFactory
xqsequence
- javax.xml.xquery.XQException
javax.xml.xquery.XQSequence createSequence(java.util.Iterator iterator) throws javax.xml.xquery.XQException
createSequence
in interface javax.xml.xquery.XQDataFactory
iterator
- javax.xml.xquery.XQException
javax.xml.xquery.XQStaticContext getStaticContext() throws javax.xml.xquery.XQException
getStaticContext
in interface javax.xml.xquery.XQConnection
javax.xml.xquery.XQException
javax.xml.xquery.XQItem createItemFromString(java.lang.String paramString, javax.xml.xquery.XQItemType paramXQItemType) throws javax.xml.xquery.XQException
createItemFromString
in interface javax.xml.xquery.XQDataFactory
paramString
- - The string value to be converted as XQItemparamXQItemType
- - The XQItemType to which the string value needs to be converted tojavax.xml.xquery.XQException