|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ucl.xpath.ast.XPathNode
org.ucl.xpath.ast.Expr
org.ucl.xpath.ast.XPathExpr
Path expression walks tries to walk the path specified in its argument
Constructor Summary | |
XPathExpr(int slashes,
StepExpr expr)
|
Method Summary | |
java.lang.Object |
accept(XPathVisitor v)
Support for Visitor interface. |
void |
add_tail(int slashes,
StepExpr expr)
Add to tail of path |
StepExpr |
expr()
|
XPathExpr |
next()
|
void |
set_next(XPathExpr n)
an XPath expression, n is copied to _next |
void |
set_slashes(int count)
|
int |
slashes()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XPathExpr(int slashes, StepExpr expr)
slashes
- is copied to _slashesexpr
- is copied to _expr
_next is made null as a result.Method Detail |
public java.lang.Object accept(XPathVisitor v)
accept
in class XPathNode
public void add_tail(int slashes, StepExpr expr)
public void set_slashes(int count)
count
- is copied to _slashespublic XPathExpr next()
public void set_next(XPathExpr n)
public StepExpr expr()
public int slashes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |