|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jaxen.saxpath.base.XPathReader
Implementation of SAXPath's XPathReader which
generates callbacks to an XPathHandler.
| Constructor Summary | |
XPathReader()
Create a new XPathReader with a do-nothing
XPathHandler. |
|
| Method Summary | |
XPathHandler |
getXPathHandler()
Retrieve the current XPathHandler
which receives the event callbacks. |
void |
parse(java.lang.String xpath)
Parse an XPath expression, and send event callbacks to an XPathHandler. |
void |
setXPathHandler(XPathHandler handler)
Set the XPathHandler to receive
event callbacks during the parse. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XPathReader()
XPathReader with a do-nothing
XPathHandler.
| Method Detail |
public void setXPathHandler(XPathHandler handler)
SAXPathEventSourceXPathHandler to receive
event callbacks during the parse.
setXPathHandler in interface SAXPathEventSourcehandler - the handler to receive callbackspublic XPathHandler getXPathHandler()
SAXPathEventSourceXPathHandler
which receives the event callbacks.
getXPathHandler in interface SAXPathEventSourceXPathHandler
public void parse(java.lang.String xpath)
throws SAXPathException
XPathReaderXPathHandler.
parse in interface XPathReaderxpath - the textual XPath expression to parse
SAXPathException - if the expression is syntactically incorrect
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||