Package com.icl.saxon.expr
Class Step
java.lang.Object
com.icl.saxon.expr.Step
A step in a path expression
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFilter
(Expression exp) void
display
(int level) Diagnostic print of expression structureEnumerate this step.byte
getAxis()
int
void
setFilters
(Expression[] filters, int count) simplify()
Simplify the step.
-
Constructor Details
-
Step
-
-
Method Details
-
addFilter
-
setFilters
-
getAxis
public byte getAxis() -
getNodeTest
-
getFilters
-
getNumberOfFilters
public int getNumberOfFilters() -
simplify
Simplify the step. Return either the same step after simplification, or null, indicating that the step will always give an empty result.- Throws:
XPathException
-
enumerate
Enumerate this step.- Parameters:
node
- : The node from which we want to make the stepcontext
- : The context for evaluation. Affects the result of positional filters- Throws:
XPathException
-
display
public void display(int level) Diagnostic print of expression structure
-