net.sf.saxon.om

Interface LookaheadIterator

All Superinterfaces:
SequenceIterator
Known Implementing Classes:
ArrayIterator, EmptyIterator, GroupAdjacentIterator, GroupByIterator, GroupEndingIterator, GroupStartingIterator, ListIterator, NodeArrayIterator, NodeListIterator, RangeIterator, ReverseArrayIterator, ReverseNodeArrayIterator, ReverseRangeIterator, SingleNodeIterator, SingletonIterator, SortedGroupIterator, SortedIterator, SortedTupleIterator, SubsequenceIterator, TailIterator, UnionEnumeration, ValueTailIterator

public interface LookaheadIterator
extends SequenceIterator

A SequenceIterator is used to iterate over a sequence. A LookaheadIterator is one that supports a hasNext() method to determine if there are more nodes after the current node.

Fields inherited from interface net.sf.saxon.om.SequenceIterator

GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD

Method Summary

boolean
hasNext()
Determine whether there are more items to come.

Methods inherited from interface net.sf.saxon.om.SequenceIterator

current, getAnother, getProperties, next, position

Method Details

hasNext

public boolean hasNext()
Returns:
true if there are more items in the sequence