|
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.XQueryExpression
A XQuery Expression is intended for executing simple queries and can be reused.
Like in XQueryPreparedExpression, global variables can be bound to initial values, but without name control, since the query can change.
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 |
Method Summary | |
XQResultSequence |
executeQuery(java.lang.String query)
Compiles and executes an expression. |
void |
executeQuery(java.lang.String query,
XMLEventReceiver result)
Compiles and executes a expression, passes the result to a XML event handler, such as a XMLSerializer or a DOM builder. |
java.lang.String |
executeQuery(java.lang.String query,
XMLSerialOptions serialOptions)
Compiles and executes a expression, then serializes the results as a string. |
java.lang.String |
executeQuery(java.lang.String query,
XSLTOptions xsltOptions)
Compiles and executes a expression, then pass the result tree to a XSLT processor. |
XQueryConnection |
getConnection()
Returns the related connection. |
NSPrefixMapping |
getInScopeNS()
Gets the defined prefix/namespace mappings. |
XQType |
getType()
Returns the type of the compiled expression, as evaluated by static analysis. |
java.lang.Object |
monitor(java.lang.String operation,
java.lang.Object parameter)
Asynchronous execution monitoring request. |
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 |
Method Detail |
public XQueryConnection getConnection()
XQueryEnvironment
getConnection
in class XQueryEnvironment
public XQResultSequence executeQuery(java.lang.String query) throws XQueryException
query
- the source code of a query to compile
XQueryException
public void executeQuery(java.lang.String query, XMLEventReceiver result) throws XQueryException, DataModelException
The query must evaluate as a single Node, otherwise an EvalException is raised.
See executeQuery(String query)
for more details
query
- the source code of a query to compileresult
- an object receiving XML data as a stream of events.
Implementations include XMLSerializer and DOMBuilder.
XQueryException
DataModelException
public java.lang.String executeQuery(java.lang.String query, XMLSerialOptions serialOptions) throws XQueryException, DataModelException
See executeQuery(String query)
for more details
query
- the source code of a query to compileserialOptions
- a set of properties defining
serialization options (see XMLSerializer for details).
XQueryException
DataModelException
public java.lang.String executeQuery(java.lang.String query, XSLTOptions xsltOptions) throws XQueryException
See executeQuery(String query)
for more details
query
- the source code of a query to compilexsltOptions
- a set of properties defining
XSLT options and parameters.
XQueryException
public java.lang.Object monitor(java.lang.String operation, java.lang.Object parameter) throws XQueryException
Implemented operations:
XQueryException
public NSPrefixMapping getInScopeNS() throws XQueryException
XQueryException
public XQType getType() throws XQueryException
XQueryException
|
© 2005 Axyana Software | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |