public class SingleAtomicIterator extends SingletonIterator implements AtomicIterator, ReversibleIterator, LastPositionFinder, GroundedIterator, LookaheadIterator
| Constructor and Description |
|---|
SingleAtomicIterator(AtomicValue value)
Private constructor: external classes should use the factory method
|
| Modifier and Type | Method and Description |
|---|---|
SingleAtomicIterator |
getReverseIterator()
Get a new SequenceIterator that returns the same items in reverse order.
|
AtomicValue |
next()
Get the next item in the sequence.
|
getLength, getResidue, getValue, hasNext, isActuallyGrounded, makeIterator, materialize, rawIterator, supportsGetLength, supportsHasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, supportsGetLengthgetResidue, isActuallyGrounded, materializehasNext, supportsHasNextclose, dischargepublic SingleAtomicIterator(AtomicValue value)
value - the item to iterate overpublic SingleAtomicIterator getReverseIterator()
ReversibleIteratorgetReverseIterator in interface ReversibleIteratorgetReverseIterator in class SingletonIteratorpublic AtomicValue next()
SequenceIteratornext in interface SequenceIteratornext in interface AtomicIteratornext in class SingletonIteratorCopyright (c) 2004-2022 Saxonica Limited. All rights reserved.