org.jaxen.saxpath

Interface XPathReader

All Superinterfaces:
SAXPathEventSource
Known Implementing Classes:
XPathReader

public interface XPathReader
extends SAXPathEventSource

Interface for readers which can parse textual XPath expressions, and produce callbacks to XPathHandler objects.
Author:
bob mcwhirter (bob@werken.com)

Method Summary

void
parse(String xpath)
Parse an XPath expression, and send event callbacks to an XPathHandler.

Methods inherited from interface org.jaxen.saxpath.SAXPathEventSource

getXPathHandler, setXPathHandler

Method Details

parse

public void parse(String xpath)
            throws SAXPathException
Parse an XPath expression, and send event callbacks to an XPathHandler.
Parameters:
xpath - the textual XPath expression to parse
Throws:
SAXPathException - if the expression is syntactically incorrect