|
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
net.axyana.qizxopen.xquery.XQueryPreparedExpression
Prepared XQuery Expressions are compiled once and can be used multiple times, changing global variable values.
| 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()
Executes the prepared expression. |
void |
executeQuery(XMLEventReceiver result)
Executes the expression, generates the result directly to a XML event handler, such as a XMLSerializer or a DOM builder. |
java.lang.String |
executeQuery(XMLSerialOptions serialOptions)
Compiles and executes a expression, then serializes the results as a string. |
java.lang.String |
executeQuery(XSLTOptions xsltOptions)
Executes the prepared expression, then pass the result tree to a XSLT processor. |
XQueryPragma[] |
getPragmas()
Returns the description of the pragmas found at the head of the query. |
| Methods inherited from class net.axyana.qizxopen.xquery.XQueryExpression |
executeQuery, executeQuery, executeQuery, executeQuery, getConnection, getInScopeNS, getType, monitor |
| 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 XQResultSequence executeQuery()
throws XQueryException
XQueryException
public void executeQuery(XMLEventReceiver result)
throws XQueryException
This may be more efficient than constructing a tree in memory then serializing.
The query must evaluate as a single Node, otherwise an EvalException is raised.
See XQueryExpression.executeQuery(String query) for more details
result - an object receiving XML data as a stream of events.
Implementations include XMLSerializer and DOMBuilder.
XQueryException
public java.lang.String executeQuery(XMLSerialOptions serialOptions)
throws XQueryException,
DataModelException
See executeQuery() for more details
serialOptions - a set of properties defining
serialization options (see XMLSerializer for details).
XQueryException
DataModelException
public java.lang.String executeQuery(XSLTOptions xsltOptions)
throws XQueryException
See executeQuery() for more details
xsltOptions - a set of properties defining
XSLT options and parameters.
XQueryException
public XQueryPragma[] getPragmas()
throws XQueryException
XQueryException
|
© 2005 Axyana Software | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||