Class Step
java.lang.Object
org.apache.commons.jxpath.ri.compiler.Step
- Version:
- $Revision: 652845 $ $Date: 2008-05-02 12:46:46 -0500 (Fri, 02 May 2008) $
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Step
(int axis, NodeTest nodeTest, Expression[] predicates) Create a new Step. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
axisToString
(int axis) Decode an axis code to its name.int
getAxis()
Get the axis code.Get the step test.Get the predicates.boolean
Learn whether this step contains any predicate that is context dependent.toString()
-
Field Details
-
axis
private int axis -
nodeTest
-
predicates
-
-
Constructor Details
-
Step
Create a new Step.- Parameters:
axis
- axis codenodeTest
- step testpredicates
- predicate expressions
-
-
Method Details
-
getAxis
public int getAxis()Get the axis code.- Returns:
- int
-
getNodeTest
Get the step test.- Returns:
- NodeTest
-
getPredicates
Get the predicates.- Returns:
- Expression[]
-
isContextDependent
public boolean isContextDependent()Learn whether this step contains any predicate that is context dependent.- Returns:
- boolean
-
toString
-
axisToString
Decode an axis code to its name.- Parameters:
axis
- int code- Returns:
- String name.
- See Also:
-