Class Step
java.lang.Object
org.apache.commons.jxpath.ri.compiler.Step
A step.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Step
(int axis, NodeTest nodeTest, Expression[] predicates) Constructs a new Step. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
axisToString
(int axis) Decode an axis code to its name.int
getAxis()
Gets the axis code.Gets the step test.Gets the predicates.boolean
Tests whether this step contains any predicate that is context dependent.toString()
-
Constructor Details
-
Method Details
-
axisToString
Decode an axis code to its name.- Parameters:
axis
- int code- Returns:
- String name.
- See Also:
-
getAxis
Gets the axis code.- Returns:
- int
-
getNodeTest
Gets the step test.- Returns:
- NodeTest
-
getPredicates
Gets the predicates.- Returns:
- Expression[]
-
isContextDependent
Tests whether this step contains any predicate that is context dependent.- Returns:
- boolean
-
toString
-