org.translet.processor
Interface XPathProcessor

All Known Implementing Classes:
XPathProcessorImpl

public interface XPathProcessor

Handles the processing of an xpath expression. Generates events based on the xpath nodes encountered in the document.

Version:
$Revision: 1.3 $
Author:
Karthikeyan Mariappan.

Method Summary
 LocationPathHandler getHandler()
          Returns the current instance of handler that is registered to handle events.
 void processXPath(XPathExpr xpath)
          Processes the specified XPath and calls the registered call back methods.
 void setHandler(LocationPathHandler handler)
          Registers the handler that processes the events generated while parsing the xpath.
 

Method Detail

processXPath

public void processXPath(XPathExpr xpath)
                  throws ProcessException
Processes the specified XPath and calls the registered call back methods.
Parameters:
xpath - The xpath to be processed.

setHandler

public void setHandler(LocationPathHandler handler)
Registers the handler that processes the events generated while parsing the xpath.
Parameters:
handler - to processes the xpath events.

getHandler

public LocationPathHandler getHandler()
Returns the current instance of handler that is registered to handle events.
Returns:
handler to processes the xpath events.