|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.xpath.Node dk.brics.xpath.Step
public class Step
Step node.
Constructor Summary | |
---|---|
Step(Axis axis,
Test test)
Constructs a new step node. |
Method Summary | |
---|---|
void |
addPredicate(Predicate pred)
Adds a predicate to this step. |
void |
apply(Visitor v)
Applies the given Visitor to this node. |
Axis |
getAxis()
Gets the axis node. |
List<Predicate> |
getPredicates()
Gets the list of predicates. |
Test |
getTest()
Gets the test node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Step(Axis axis, Test test)
axis
- axis nodetest
- test nodeMethod Detail |
---|
public void addPredicate(Predicate pred)
pred
- predicate nodepublic void apply(Visitor v)
Node
Visitor
to this node.
apply
in class Node
v
- node visitorpublic Axis getAxis()
public List<Predicate> getPredicates()
public Test getTest()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |