Package com.icl.saxon.expr
Class Step
- java.lang.Object
-
- com.icl.saxon.expr.Step
-
public final class Step extends java.lang.ObjectA step in a path expression
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StepaddFilter(Expression exp)voiddisplay(int level)Diagnostic print of expression structureNodeEnumerationenumerate(NodeInfo node, Context context)Enumerate this step.bytegetAxis()Expression[]getFilters()NodeTestgetNodeTest()intgetNumberOfFilters()voidsetFilters(Expression[] filters, int count)Stepsimplify()Simplify the step.
-
-
-
Constructor Detail
-
Step
public Step(byte axis, NodeTest nodeTest)
-
-
Method Detail
-
addFilter
public Step addFilter(Expression exp)
-
setFilters
public void setFilters(Expression[] filters, int count)
-
getAxis
public byte getAxis()
-
getNodeTest
public NodeTest getNodeTest()
-
getFilters
public Expression[] getFilters()
-
getNumberOfFilters
public int getNumberOfFilters()
-
simplify
public Step simplify() throws XPathException
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
public NodeEnumeration enumerate(NodeInfo node, Context context) throws XPathException
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
-
-