| org.apache.xpath.axes.PredicatedNodeTest org.apache.xpath.axes.LocPathIterator org.apache.xpath.axes.BasicTestIterator org.apache.xpath.axes.ChildTestIterator org.apache.xpath.axes.OneStepIteratorForward
All known Subclasses: org.apache.xalan.transformer.KeyIterator,
OneStepIteratorForward | public class OneStepIteratorForward extends ChildTestIterator (Code) | | This class implements a general iterator for
those LocationSteps with only one step, and perhaps a predicate,
that only go forward (i.e. it can not be used with ancestors,
preceding, etc.)
See Also: org.apache.xpath.axes.ChildTestIterator |
Field Summary | |
protected int | m_axis The traversal axis from where the nodes will be filtered. | final static long | serialVersionUID |
Method Summary | |
public boolean | deepEquals(Expression expr) | public int | getAxis() Returns the axis being iterated, if it is known. | protected int | getNextNode() Get the next node via getFirstAttribute && getNextAttribute. | public void | setRoot(int context, Object environment) Initialize the context values for this expression
after it is cloned. |
m_axis | protected int m_axis(Code) | | The traversal axis from where the nodes will be filtered.
|
serialVersionUID | final static long serialVersionUID(Code) | | |
OneStepIteratorForward | public OneStepIteratorForward(int axis)(Code) | | Create a OneStepIterator object that will just traverse the self axes.
Parameters: axis - One of the org.apache.xml.dtm.Axis integers. throws: javax.xml.transform.TransformerException - |
getAxis | public int getAxis()(Code) | | Returns the axis being iterated, if it is known.
Axis.CHILD, etc., or -1 if the axis is not known or is of multiple types. |
getNextNode | protected int getNextNode()(Code) | | Get the next node via getFirstAttribute && getNextAttribute.
|
setRoot | public void setRoot(int context, Object environment)(Code) | | Initialize the context values for this expression
after it is cloned.
Parameters: context - The XPath runtime context for thistransformation. |
Fields inherited from org.apache.xpath.axes.BasicTestIterator | final static long serialVersionUID(Code)(Java Doc)
|
|
|