org.jaxen.saxpath

Interface SAXPathEventSource

public interface SAXPathEventSource

Interface for any object capable of generating SAXPath events to an {@link org.jaxen.saxpath.XPathHandler}.

Author: bob mcwhirter (bob@werken.com)

Method Summary
XPathHandlergetXPathHandler()
Retrieve the current {@link org.jaxen.saxpath.XPathHandler} which receives the event callbacks.
voidsetXPathHandler(XPathHandler handler)
Set the {@link org.jaxen.saxpath.XPathHandler} to receive event callbacks during the parse.

Method Detail

getXPathHandler

public XPathHandler getXPathHandler()
Retrieve the current {@link org.jaxen.saxpath.XPathHandler} which receives the event callbacks.

Returns: the currently installed XPathHandler

setXPathHandler

public void setXPathHandler(XPathHandler handler)
Set the {@link org.jaxen.saxpath.XPathHandler} to receive event callbacks during the parse.

Parameters: handler the handler to receive callbacks