Modifier | Constructor and Description |
---|---|
protected |
Step(int axis,
NodeTest nodeTest,
Expression[] predicates)
Create a new Step.
|
Modifier and Type | Method and Description |
---|---|
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() |
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 static String axisToString(int axis)
axis
- int codeCompiler
,
"http://www.w3.org/TR/xpath#axes"Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.