Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.jaxen.saxpath.base.XPathReader
XPathReader
which
generates callbacks to an XPathHandler
.
Field Summary | |
private static XPathHandler | |
private XPathHandler | |
private XPathLexer | |
private ArrayList |
Constructor Summary | |
|
Method Summary | |
private int |
|
private Token |
|
private void |
|
private void | |
private void | |
private void |
|
private void | |
private int | |
private XPathSyntaxException |
|
private void | |
private void |
|
private void | |
private void | |
XPathHandler |
|
private boolean |
|
private void |
|
(package private) void |
|
private Token |
|
private void | |
private void |
|
private void |
|
private void |
|
private void |
|
void |
|
private void |
|
(package private) void | |
private void | |
private void | |
private void | |
private void | |
(package private) void |
|
void |
|
(package private) void |
|
private void |
|
private void |
|
private void | |
private void | |
private void |
private int LA(int position)
public XPathHandler getXPathHandler()
Retrieve the currentXPathHandler
which receives the event callbacks.
- Specified by:
- getXPathHandler in interface SAXPathEventSource
- Returns:
- the currently installed
XPathHandler
public void parse(String xpath) throws SAXPathException
Parse an XPath expression, and send event callbacks to anXPathHandler
.
- Specified by:
- parse in interface XPathReader
- Parameters:
xpath
- the textual XPath expression to parse
- Throws:
SAXPathException
- if the expression is syntactically incorrect
(package private) void setUpParse(String xpath)
public void setXPathHandler(XPathHandler handler)
Set theXPathHandler
to receive event callbacks during the parse.
- Specified by:
- setXPathHandler in interface SAXPathEventSource
- Parameters:
handler
- the handler to receive callbacks