|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.jxpath.ri.compiler.Step
public class Step
Constructor Summary | |
---|---|
protected |
Step(int axis,
NodeTest nodeTest,
Expression[] predicates)
Create a new Step. |
Method Summary | |
---|---|
static String |
axisToString(int axis)
Decode an axis code to its name. |
int |
getAxis()
Get the axis code. |
NodeTest |
getNodeTest()
Get the step test. |
Expression[] |
getPredicates()
Get the predicates. |
boolean |
isContextDependent()
Learn whether this step contains any predicate that is context dependent. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected Step(int axis, NodeTest nodeTest, Expression[] predicates)
axis
- axis codenodeTest
- step testpredicates
- predicate expressionsMethod Detail |
---|
public int getAxis()
public NodeTest getNodeTest()
public Expression[] getPredicates()
public boolean isContextDependent()
public String toString()
toString
in class Object
public static String axisToString(int axis)
axis
- int code
Compiler
,
http://www.w3.org/TR/xpath#axes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |