|
Qizx/Open v0.4p2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.xfra.qizxopen.xquery.XQueryProcessor
|
+--net.xfra.qizxopen.xquery.SAXXQueryProcessor
An XQueryProcessor that evaluates a query and yields a document in the form of SAX2 events. It can be used as a source to other XML/JAXP processors.
Steps to follow to use this object:
| Nested Class Summary |
| Nested classes inherited from class net.xfra.qizxopen.xquery.XQueryProcessor |
XQueryProcessor.PauseHandler |
| Field Summary |
| Fields inherited from class net.xfra.qizxopen.xquery.XQueryProcessor |
EXTENSIONS_NS, EXTENSIONS_URI, XSLT_OUTPUT_FILE |
| Constructor Summary | |
SAXXQueryProcessor()
|
|
SAXXQueryProcessor(java.lang.String moduleBaseURI,
java.lang.String baseURI)
|
|
SAXXQueryProcessor(XQueryProcessor master)
|
|
| Method Summary | |
org.xml.sax.ContentHandler |
getContentHandler()
|
org.xml.sax.DTDHandler |
getDTDHandler()
|
org.xml.sax.EntityResolver |
getEntityResolver()
|
org.xml.sax.ErrorHandler |
getErrorHandler()
|
boolean |
getFeature(java.lang.String name)
|
java.lang.Object |
getProperty(java.lang.String name)
|
void |
parse(org.xml.sax.InputSource inputSource)
Executes a query (defined by setQuery) and sends results to the SAX handlers. |
void |
parse(java.lang.String systemId)
Executes a query (defined by setQuery) and sends results to the SAX handlers.The query must evaluate as a document. |
void |
setContentHandler(org.xml.sax.ContentHandler handler)
|
void |
setDTDHandler(org.xml.sax.DTDHandler handler)
Not used. |
void |
setEntityResolver(org.xml.sax.EntityResolver resolver)
Not used. |
void |
setErrorHandler(org.xml.sax.ErrorHandler handler)
|
void |
setFeature(java.lang.String name,
boolean value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
|
void |
setQuery(XQuery query)
Specifies the evaluated query. |
| Methods inherited from class net.xfra.qizxopen.xquery.XQueryProcessor |
authorizeClass, compileQuery, compileQuery, compileQuery, eval, executeQuery, executeQuery, executeQuery, getDocumentManager, getModuleManager, getSysProperty, getVersion, initGlobal, initGlobal, initGlobal, initGlobal, initGlobal, initGlobal, initGlobal, pauseExecution, predefineGlobal, predefineGlobal, predefineNamespace, registerCollation, resetDeclarations, setCollectionInput, setDefaultCollation, setDefaultOutput, setDocumentInput, setDocumentManager, setImplicitTimezone, setInput, setInput, setLog, setModuleManager, setSysProperty, stopExecution, toLocalNS, xslTransform |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SAXXQueryProcessor()
public SAXXQueryProcessor(java.lang.String moduleBaseURI,
java.lang.String baseURI)
throws java.io.IOException
public SAXXQueryProcessor(XQueryProcessor master)
| Method Detail |
public void setQuery(XQuery query)
public void parse(org.xml.sax.InputSource inputSource)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReaderinputSource - optional input source. If not null, a document is parsed
from it and made accessible by the query through the input() function.
java.io.IOException - parsing the input
org.xml.sax.SAXException - parsing the input or wrapping XQuery exceptions
public void parse(java.lang.String systemId)
throws java.io.IOException,
org.xml.sax.SAXException
parse in interface org.xml.sax.XMLReadersystemId - input source. A document is parsed from it and
made accessible by the query through the input() function.
java.io.IOException - parsing the input
org.xml.sax.SAXException - parsing the input or wrapping XQuery exceptionspublic org.xml.sax.ContentHandler getContentHandler()
getContentHandler in interface org.xml.sax.XMLReaderpublic void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler in interface org.xml.sax.XMLReaderpublic org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler in interface org.xml.sax.XMLReaderpublic void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler in interface org.xml.sax.XMLReaderpublic org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver in interface org.xml.sax.XMLReaderpublic void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver in interface org.xml.sax.XMLReaderpublic org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler in interface org.xml.sax.XMLReaderpublic void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler in interface org.xml.sax.XMLReader
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name,
java.lang.Object value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getProperty in interface org.xml.sax.XMLReaderorg.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
|
Copyright Xavier FRANC 2003-2004 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||