|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.xquery.saxon.SaxonXQueryExpression
public class SaxonXQueryExpression
Saxon implementation of MetaMatrix XQueryExpression
Constructor Summary | |
---|---|
SaxonXQueryExpression()
|
Method Summary | |
---|---|
void |
compileXQuery(java.lang.String xQueryString)
Return the compiled XQueryExpression - the result of this call should be used as a parameter to the getDocumentNames and
evaluateXQuery methods. |
java.sql.SQLXML |
evaluateXQuery(XQuerySQLEvaluator sqlEval)
Evaluate the XQuery and return results. |
void |
setXMLFormat(java.lang.String xmlFormat)
This method sets whether the documents should be returned in compact format (no extraneous whitespace). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SaxonXQueryExpression()
Method Detail |
---|
public void compileXQuery(java.lang.String xQueryString) throws MetaMatrixProcessingException
XQueryExpression
getDocumentNames
and
evaluateXQuery
methods.
A null return value is interpreted to mean that XQueries
are not supported by this engine at all.
compileXQuery
in interface XQueryExpression
xQueryString
- the original XQuery String
MetaMatrixProcessingException
- if xQueryString is
invalid and fails to compilecom.metamatrix.query.xquery.XQueryEngine#compileXQuery(java.lang.String)
public java.sql.SQLXML evaluateXQuery(XQuerySQLEvaluator sqlEval) throws MetaMatrixProcessingException, MetaMatrixComponentException
XQueryExpression
evaluateXQuery
in interface XQueryExpression
MetaMatrixProcessingException
- if xQueryString is
invalid and fails to compile
MetaMatrixComponentException
com.metamatrix.query.xquery.XQueryEngine#evaluateXQuery(com.metamatrix.query.xquery.XQueryExpression)
public void setXMLFormat(java.lang.String xmlFormat)
setXMLFormat
in interface XQueryExpression
xmlFormat
- A string giving the format in which xml results need to be returned
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |