org.jaxen.saxpath

Interface SAXPathEventSource

public interface SAXPathEventSource

Interface for any object capable of generating SAXPath events to an XPathHandler.

Author: bob mcwhirter (bob@werken.com)

Method Summary
XPathHandlergetXPathHandler()
Retrieve the current XPathHandler which receives the event callbacks.
voidsetXPathHandler(XPathHandler handler)
Set the XPathHandler to receive event callbacks during the parse.

Method Detail

getXPathHandler

public XPathHandler getXPathHandler()
Retrieve the current XPathHandler which receives the event callbacks.

Returns: the currently installed XPathHandler

setXPathHandler

public void setXPathHandler(XPathHandler handler)
Set the XPathHandler to receive event callbacks during the parse.

Parameters: handler the handler to receive callbacks