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