net.sf.swan.xml.input.tree
Interface TreeResultHandler

All Known Implementing Classes:
TreeResultAdapter

public interface TreeResultHandler


Method Summary
 void initializeSelector(Selector selector)
          Permits the component to initialize a Selector for later use.
 void treeResult(TreeResult result)
           
 

Method Detail

initializeSelector

public void initializeSelector(Selector selector)
Permits the component to initialize a Selector for later use. This gets called exactly once during the lifetime of a TreeResultListener and permits the component to setup namespace mappings, function contexts, or prototype variable values. The Selector is then used as a prototype for thread-specific instances employed internally by the TreeResult object passed to the component's treeResult method.

treeResult

public void treeResult(TreeResult result)
                throws EventContextException,
                       org.saxpath.SAXPathException