net.sf.saxon.om
Class NodeArrayIterator
- AxisIterator, GroundedIterator, LastPositionFinder, LookaheadIterator, ReversibleIterator, SequenceIterator, UnfailingIterator
public class NodeArrayIterator
current, getAnother, getArray, getEndPosition, getLastPosition, getProperties, getReverseIterator, getStartPosition, hasNext, makeSliceIterator, materialize, next, position |
NodeArrayIterator
public NodeArrayIterator(NodeInfo[] nodes)
NodeArrayIterator
public NodeArrayIterator(NodeInfo[] nodes,
int start,
int end)
getStringValue
public CharSequence getStringValue()
Return the string value of the current node.
- getStringValue in interface AxisIterator
- the string value, as an instance of CharSequence.
iterateAxis
public AxisIterator iterateAxis(byte axis,
NodeTest test) Return an iterator over an axis, starting at the current node.
- iterateAxis in interface AxisIterator
axis - the axis to iterate over, using a constant such as
Axis.CHILDtest - a predicate to apply to the nodes before returning them.
moveNext
public boolean moveNext()
Move to the next node, without returning it. Returns true if there is
a next node, false if the end of the sequence has been reached. After
calling this method, the current node may be retrieved using the
current() function.
- moveNext in interface AxisIterator