|
Qizx/open API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.axyana.qizxopen.xquery.XQueryEnvironment
net.axyana.qizxopen.xquery.XQueryConnection
XQueryConnection is the main interface for XQuery applications. It represents an access to the resources managed by a XQuery engine:
Connections created from a XQuery engine share a Module Manager
for accessing and caching XQuery modules.
They share parsed XML documents through a Document Manager
(DocumentManager
) which accesses and caches the documents.
A XQueryConnection provides an environment allowing to:
Each connection may define some particular settings, like namespace prefixes, default namespaces, base URI, predefined global variables.
Caution: XQueryConnection is not thread-safe: only one thread is supposed to handle a XQueryConnection at a time.
Field Summary |
Fields inherited from class net.axyana.qizxopen.xquery.XQueryEnvironment |
DOC_BASE_URI, EXEC_TIMEOUT, MODULE_BASE_URI, SOURCE_URI, TRACE_EXECUTION, TRACE_QUERY_COMPIL |
Constructor Summary | |
XQueryConnection(net.axyana.qizxopen.xquery.impl.XQueryConnectionCx stub)
|
Method Summary | |
void |
close()
Releases memory resources used by this connection. |
XQueryExpression |
createExpression()
Creates an empty expression sharing the static and dynamic environment. |
XQueryConnection |
getConnection()
Returns the related connection. |
XQueryPreparedExpression |
prepareExpression(java.lang.String query)
Compiles the source code of a query and returns a prepared Expression. |
Methods inherited from class net.axyana.qizxopen.xquery.XQueryEnvironment |
authorizeClass, bind, bind, bindDouble, bindLong, bindObject, bindString, bindStringArray, defineGlobal, defineNamespace, getMessages, getSysProperty, registerCollation, setCollectionInput, setCurrentItem, setDefaultCollation, setDocumentInput, setDocumentInput, setFragmentInput, setImplicitTimezone, setInput, setInputDocument, setSysProperty |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XQueryConnection(net.axyana.qizxopen.xquery.impl.XQueryConnectionCx stub)
Method Detail |
public XQueryConnection getConnection()
XQueryEnvironment
getConnection
in class XQueryEnvironment
public XQueryExpression createExpression() throws XQueryException
XQueryException
public XQueryPreparedExpression prepareExpression(java.lang.String query) throws XQueryException
XQueryException
public void close() throws XQueryException
To avoid waisting resources, it is recommended to use this method once the work with a connection is done.
Any further access will raise an exception.
XQueryException
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |