All Known Implementing Classes:
AdjacentTextNodeMergingIterator, ArrayIterator, ArrayIterator.Of, ArrayIterator.OfNodes, AscendingRangeIterator, AttributeIterator, BigRangeIterator, DescendingRangeIterator, EmptyIterator, FocusTrackingIterator, GroupAdjacentIterator, GroupBreakingIterator, GroupByIterator, GroupByIterator.ManualGroupByIterator, GroupEndingIterator, GroupMatchingIterator, GroupStartingIterator, ItemCheckingIterator, ItemMappingIterator, ListIterator, ListIterator.Of, ListIterator.OfAtomic, LookaheadIteratorImpl, ManualGroupIterator, ManualIterator, ManualRegexIterator, MergeGroupingIterator, MergeGroupingIterator.ManualMergeGroupingIterator, MergeIterator, MultiIndex.SelectedItemsIterator, MultithreadedFocusTrackingIterator, MultithreadedItemMappingIterator, NodeListIterator, NodeWrappingAxisIterator, OneToOneMappingIterator, net.sf.saxon.expr.RangeIterator, SingleAtomicIterator, SingleNodeIterator, SingletonIterator, SortedGroupIterator, SortedIterator, SubsequenceIterator, TailIterator, TwoItemIterator, UnionEnumeration, UnionIterator, UntypedAtomizingIterator, ValueTailIterator, ZenoSequence.ZenoSequenceIterator
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.
Ask whether the hasNext() method can be called. This method must
be called before calling hasNext(), because some iterators
implement this interface, but only support look-ahead under particular
circumstances (this is usually because they delegate to another
Returns: true if the
method is available
Determine whether there are more items to come. Note that this operation
is stateless and it is not necessary (or usual) to call it before calling
next(). It is used only when there is an explicit need to tell if we
are at the last element.
This method must not be called unless the result of
Returns: true if there are more items in the sequence
Copyright (c) 2004-2022 Saxonica Limited. All rights reserved.