net.sf.saxon.xqj
Class SaxonXQConnection
java.lang.Object
net.sf.saxon.xqj.SaxonXQDataFactory
net.sf.saxon.xqj.SaxonXQConnection
- All Implemented Interfaces:
- XQConnection, XQDataFactory
public class SaxonXQConnection
- extends SaxonXQDataFactory
- implements XQConnection
Saxon implementation of the XQL interface XQConnection. This interface represents a
"connection" between an XQuery application and an XQuery server. In Saxon the client
and server run in the same process so the concept of a connection is rather notional,
and some of the properties have little meaning. However, the connection is the factory
object used to compile queries.
For Javadoc descriptions of the public methors, see the XQJ documentation.
Methods inherited from class net.sf.saxon.xqj.SaxonXQDataFactory |
createAtomicType, createAtomicType, createAttributeType, createAttributeType, createCommentType, createDocumentElementType, createDocumentSchemaElementType, createDocumentType, createElementType, createElementType, createItem, createItemFromAtomicValue, createItemFromBoolean, createItemFromByte, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDouble, createItemFromFloat, createItemFromInt, createItemFromLong, createItemFromNode, createItemFromObject, createItemFromShort, createItemFromString, createItemType, createNodeType, createProcessingInstructionType, createSchemaAttributeType, createSchemaElementType, createSequence, createSequence, createSequenceType, createTextType |
Methods inherited from interface net.sf.saxon.javax.xml.xquery.XQDataFactory |
createAtomicType, createAtomicType, createAttributeType, createAttributeType, createCommentType, createDocumentElementType, createDocumentSchemaElementType, createDocumentType, createElementType, createElementType, createItem, createItemFromAtomicValue, createItemFromBoolean, createItemFromByte, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDocument, createItemFromDouble, createItemFromFloat, createItemFromInt, createItemFromLong, createItemFromNode, createItemFromObject, createItemFromShort, createItemFromString, createItemType, createNodeType, createProcessingInstructionType, createSchemaAttributeType, createSchemaElementType, createSequence, createSequence, createSequenceType, createTextType |
getConfiguration
public Configuration getConfiguration()
close
public void close()
- Specified by:
close
in interface XQConnection
commit
public void commit()
throws XQException
- Specified by:
commit
in interface XQConnection
- Throws:
XQException
createExpression
public XQExpression createExpression()
throws XQException
- Specified by:
createExpression
in interface XQConnection
- Throws:
XQException
createExpression
public XQExpression createExpression(XQStaticContext properties)
throws XQException
- Specified by:
createExpression
in interface XQConnection
- Throws:
XQException
getAutoCommit
public boolean getAutoCommit()
throws XQException
- Specified by:
getAutoCommit
in interface XQConnection
- Throws:
XQException
getMetaData
public XQMetaData getMetaData()
throws XQException
- Specified by:
getMetaData
in interface XQConnection
- Throws:
XQException
getStaticContext
public XQStaticContext getStaticContext()
throws XQException
- Specified by:
getStaticContext
in interface XQConnection
- Throws:
XQException
isClosed
public boolean isClosed()
- Specified by:
isClosed
in interface XQConnection
prepareExpression
public XQPreparedExpression prepareExpression(InputStream xquery)
throws XQException
- Specified by:
prepareExpression
in interface XQConnection
- Throws:
XQException
prepareExpression
public XQPreparedExpression prepareExpression(InputStream xquery,
XQStaticContext properties)
throws XQException
- Specified by:
prepareExpression
in interface XQConnection
- Throws:
XQException
prepareExpression
public XQPreparedExpression prepareExpression(Reader xquery)
throws XQException
- Specified by:
prepareExpression
in interface XQConnection
- Throws:
XQException
prepareExpression
public XQPreparedExpression prepareExpression(Reader xquery,
XQStaticContext properties)
throws XQException
- Specified by:
prepareExpression
in interface XQConnection
- Throws:
XQException
prepareExpression
public XQPreparedExpression prepareExpression(String xquery)
throws XQException
- Specified by:
prepareExpression
in interface XQConnection
- Throws:
XQException
prepareExpression
public XQPreparedExpression prepareExpression(String xquery,
XQStaticContext properties)
throws XQException
- Specified by:
prepareExpression
in interface XQConnection
- Throws:
XQException
rollback
public void rollback()
throws XQException
- Specified by:
rollback
in interface XQConnection
- Throws:
XQException
setAutoCommit
public void setAutoCommit(boolean autoCommit)
throws XQException
- Specified by:
setAutoCommit
in interface XQConnection
- Throws:
XQException
setStaticContext
public void setStaticContext(XQStaticContext properties)
throws XQException
- Specified by:
setStaticContext
in interface XQConnection
- Throws:
XQException
Copyright (C) Michael H. Kay. All rights reserved.