|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.fzi.XPath.Step
Class Step represents single location step.
Constructor Summary | |
Step(int theaxis,
NodeTest thenodetest)
Constructor. |
Method Summary | |
void |
addPredicate(Expr predicate)
Adds predicate to this step. |
int |
getAxis()
Returns axis code of this location step. |
NodeTest |
getNodeTest()
Returns axis code of this location step. |
Expr |
getPredicate(int index)
Returns predicate at given position. |
int |
getPredicatesCount()
Returns count of predicates in this location step. |
java.lang.String |
toString()
Returns string representation of this location step. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Step(int theaxis, NodeTest thenodetest)
theaxis
- integer axis code of this location step.thenodetext
- nodetest of this location step.Axis
,
NodeTest
Method Detail |
public int getAxis()
Axis
public NodeTest getNodeTest()
Axis
public void addPredicate(Expr predicate)
predicate
- predicate to be added. Predicate itself is simply another
expression.public Expr getPredicate(int index)
index
- position of the predicate.index
or null if no predicate
at this position.getPredicatesCount()
public int getPredicatesCount()
0
.public java.lang.String toString()
toString
in class java.lang.Object
"axis::nodetest[predicate]...
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |