public class SingleAtomicIterator extends SingletonIterator implements AtomicIterator, ReversibleIterator, LastPositionFinder, GroundedIterator, LookaheadIterator
| Modifier | Constructor and Description |
|---|---|
protected |
SingleAtomicIterator(AtomicValue value)
Protected 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.
|
static AtomicIterator |
makeIterator(AtomicValue item)
Factory method.
|
AtomicValue |
next()
Get the next item in the sequence.
|
getLength, getResidue, getValue, hasNext, isActuallyGrounded, makeIterator, materialize, supportsGetLength, supportsHasNextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetLength, supportsGetLengthgetResidue, isActuallyGrounded, materializehasNext, supportsHasNextclose, dischargeprotected SingleAtomicIterator(AtomicValue value)
value - the item to iterate overpublic static AtomicIterator makeIterator(AtomicValue item)
item - 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.