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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TreeResult
protected TreeResult(ContextEvent prototype,
SelectorPool pool)
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