public class Step
extends java.lang.Object
Modifier and Type | Field | Description |
---|---|---|
private int |
axis |
|
private NodeTest |
nodeTest |
|
private Expression[] |
predicates |
Modifier | Constructor | Description |
---|---|---|
protected |
Step(int axis,
NodeTest nodeTest,
Expression[] predicates) |
Create a new Step.
|
Modifier and Type | Method | Description |
---|---|---|
static java.lang.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.
|
java.lang.String |
toString() |
private int axis
private NodeTest nodeTest
private Expression[] predicates
protected Step(int axis, NodeTest nodeTest, Expression[] predicates)
axis
- axis codenodeTest
- step testpredicates
- predicate expressionspublic int getAxis()
public NodeTest getNodeTest()
public Expression[] getPredicates()
public boolean isContextDependent()
public java.lang.String toString()
toString
in class java.lang.Object
public static java.lang.String axisToString(int axis)
axis
- int codeCompiler