Package net.sf.saxon.tree.iter
Interface AtomicIterator
- All Superinterfaces:
AutoCloseable,Closeable,SequenceIterator<AtomicValue>,UnfailingIterator<AtomicValue>
- All Known Implementing Classes:
BigRangeIterator,EmptyIterator.OfAtomic,ListIterator.Atomic,RangeIterator,ReverseRangeIterator,SingleAtomicIterator
A SequenceIterator is used to iterate over a sequence. An AtomicIterator
is a SequenceIterator that returns atomic values and throws no checked exceptions.
-
Field Summary
Fields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD -
Method Summary
Methods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getProperties, materializeMethods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
firstWith, forEach, toGroundedValue, toList
-
Method Details
-
next
AtomicValue next()Get the next atomic value in the sequence.- Specified by:
nextin interfaceSequenceIterator<AtomicValue>- Specified by:
nextin interfaceUnfailingIterator<AtomicValue>- Returns:
- the next Item. If there are no more items, return null.
-