|
|||||||||||
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)
SAXPathEventSource
XPathHandler
to receive
event callbacks during the parse.
setXPathHandler
in interface SAXPathEventSource
handler
- the handler to receive callbackspublic XPathHandler getXPathHandler()
SAXPathEventSource
XPathHandler
which receives the event callbacks.
getXPathHandler
in interface SAXPathEventSource
XPathHandler
public void parse(java.lang.String xpath) throws SAXPathException
XPathReader
XPathHandler
.
parse
in interface XPathReader
xpath
- 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 |