net.sf.swan.xml.input.tree
Class TreeResult

java.lang.Object
  |
  +--net.sf.swan.xml.input.event.ContextEvent
        |
        +--net.sf.swan.xml.input.tree.TreeResult

public class TreeResult
extends ContextEvent


Constructor Summary
protected TreeResult(ContextEvent prototype, SelectorPool pool)
           
 
Method Summary
 java.lang.Object first(java.lang.String expr)
           
 java.lang.Object getContextNode()
           
 Selector getSelector()
          Retrieve the Selector currently in use by this TreeResult
 java.util.List select(java.lang.String expr)
           
 java.lang.String string(java.lang.String expr)
           
 boolean test(java.lang.String expr, java.lang.Object contextNode)
           
 
Methods inherited from class net.sf.swan.xml.input.event.ContextEvent
connectSource, consume, currentContext, getLineInfo, getPath, isConsumed, sourceContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TreeResult

protected TreeResult(ContextEvent prototype,
                     SelectorPool pool)
Method Detail

getContextNode

public java.lang.Object getContextNode()

getSelector

public Selector getSelector()
Retrieve the Selector currently in use by this TreeResult

select

public java.util.List select(java.lang.String expr)
                      throws org.saxpath.SAXPathException

first

public java.lang.Object first(java.lang.String expr)
                       throws org.saxpath.SAXPathException

string

public java.lang.String string(java.lang.String expr)
                        throws org.saxpath.SAXPathException

test

public boolean test(java.lang.String expr,
                    java.lang.Object contextNode)
             throws org.saxpath.SAXPathException