public class SaxonXQConnection extends SaxonXQDataFactory implements XQConnection
For Javadoc descriptions of the public methors, see the XQJ documentation.
| Constructor and Description |
|---|
SaxonXQConnection(SaxonXQDataSource dataSource)
Create an SaxonXQConnection from a SaxonXQDataSource
|
createAtomicItemType, createItem, createItemFromAtomicValue, createItemFromBoolean, createItemFromByte, createItemFromDocument, createItemFromDouble, createItemFromFloat, createItemFromInt, createItemFromLong, createItemFromNode, createItemFromObject, createItemFromShort, createItemType, createItemType, createSequence, createSequence, createSequenceType, mapSaxonTypeToXQJclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAtomicItemType, createItem, createItemFromAtomicValue, createItemFromBoolean, createItemFromByte, createItemFromDocument, createItemFromDouble, createItemFromFloat, createItemFromInt, createItemFromLong, createItemFromNode, createItemFromObject, createItemFromShort, createItemType, createItemType, createSequence, createSequence, createSequenceTypeSaxonXQConnection(SaxonXQDataSource dataSource)
dataSource - the data source.public Configuration getConfiguration()
getConfiguration in class SaxonXQDataFactorypublic XQCommonHandler getCommonHandler()
getCommonHandler in class SaxonXQDataFactorypublic void clearWarnings()
throws XQException
clearWarnings in interface XQConnectionXQExceptionpublic void close()
close in interface XQConnectionpublic void commit()
throws XQException
commit in interface XQConnectionXQExceptionpublic XQExpression createExpression() throws XQException
createExpression in interface XQConnectionXQExceptionpublic int getHoldability()
throws XQException
getHoldability in interface XQConnectionXQExceptionpublic XQMetaData getMetaData() throws XQException
getMetaData in interface XQConnectionXQExceptionpublic java.lang.String getMetaDataProperty(java.lang.String key)
throws XQException
getMetaDataProperty in interface XQConnectionXQExceptionpublic int getQueryLanguageTypeAndVersion()
throws XQException
getQueryLanguageTypeAndVersion in interface XQConnectionXQExceptionpublic int getScrollability()
throws XQException
getScrollability in interface XQConnectionXQExceptionpublic java.lang.String[] getSupportedMetaDataPropertyNames()
throws XQException
getSupportedMetaDataPropertyNames in interface XQConnectionXQExceptionpublic int getUpdatability()
throws XQException
getUpdatability in interface XQConnectionXQExceptionpublic XQWarning getWarnings() throws XQException
getWarnings in interface XQConnectionXQExceptionpublic boolean isClosed()
isClosed in interface XQConnectionpublic XQPreparedExpression prepareExpression(java.io.InputStream xquery) throws XQException
prepareExpression in interface XQConnectionXQExceptionpublic XQPreparedExpression prepareExpression(java.io.InputStream xquery, XQItemType contextItemType) throws XQException
prepareExpression in interface XQConnectionXQExceptionpublic XQPreparedExpression prepareExpression(java.io.Reader xquery) throws XQException
prepareExpression in interface XQConnectionXQExceptionpublic XQPreparedExpression prepareExpression(java.io.Reader xquery, XQItemType contextItemType) throws XQException
prepareExpression in interface XQConnectionXQExceptionpublic XQPreparedExpression prepareExpression(java.lang.String xquery) throws XQException
prepareExpression in interface XQConnectionXQExceptionpublic XQPreparedExpression prepareExpression(java.lang.String xquery, XQItemType contextItemType) throws XQException
prepareExpression in interface XQConnectionXQExceptionpublic void rollback()
throws XQException
rollback in interface XQConnectionXQExceptionpublic void setCommonHandler(XQCommonHandler handler)
setCommonHandler in interface XQConnectionpublic void setHoldability(int holdability)
throws XQException
setHoldability in interface XQConnectionXQExceptionpublic void setQueryLanguageTypeAndVersion(int langtype)
throws XQException
setQueryLanguageTypeAndVersion in interface XQConnectionXQExceptionpublic void setScrollability(int scrollability)
throws XQException
setScrollability in interface XQConnectionXQExceptionpublic void setUpdatability(int updatability)
throws XQException
setUpdatability in interface XQConnectionXQExceptionpublic java.lang.String getBaseURI()
throws XQException
getBaseURI in interface XQStaticContextXQExceptionpublic int getBoundarySpacePolicy()
throws XQException
getBoundarySpacePolicy in interface XQStaticContextXQExceptionpublic int getConstructionMode()
throws XQException
getConstructionMode in interface XQStaticContextXQExceptionpublic int getCopyNamespacesModeInherit()
throws XQException
getCopyNamespacesModeInherit in interface XQStaticContextXQExceptionpublic int getCopyNamespacesModePreserve()
throws XQException
getCopyNamespacesModePreserve in interface XQStaticContextXQExceptionpublic java.lang.String getDefaultCollation()
throws XQException
getDefaultCollation in interface XQStaticContextXQExceptionpublic java.lang.String getDefaultElementTypeNamespace()
throws XQException
getDefaultElementTypeNamespace in interface XQStaticContextXQExceptionpublic java.lang.String getDefaultFunctionNamespace()
throws XQException
getDefaultFunctionNamespace in interface XQStaticContextXQExceptionpublic int getDefaultOrderForEmptySequences()
throws XQException
getDefaultOrderForEmptySequences in interface XQStaticContextXQExceptionpublic java.lang.String[] getInScopeNamespacePrefixes()
throws XQException
getInScopeNamespacePrefixes in interface XQStaticContextXQExceptionpublic java.lang.String getNamespaceURI(java.lang.String prefix)
throws XQException
getNamespaceURI in interface XQStaticContextXQExceptionpublic int getOrderingMode()
throws XQException
getOrderingMode in interface XQStaticContextXQExceptionpublic javax.xml.namespace.QName[] getStaticInScopeVariableNames()
throws XQException
getStaticInScopeVariableNames in interface XQStaticContextXQExceptionpublic XQSequenceType getStaticInScopeVariableType(javax.xml.namespace.QName varname) throws XQException
getStaticInScopeVariableType in interface XQStaticContextXQException