|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jaxen.saxpath.base.TokenTypes
org.jaxen.saxpath.base.XPathReader
Implementation of SAXPath's XPathReader
which
generates callbacks to an XPathHandler
.
Constructor Summary | |
XPathReader()
|
Method Summary | |
XPathHandler |
getXPathHandler()
Retrieve the current XPathHandler
which receives the event callbacks. |
void |
parse(java.lang.String xpath)
Perform parsing of the textual XPath expression, and produce 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()
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 callbacks.public 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
- in the event an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |