Package net.sf.saxon.tree.iter
Class EmptyIterator.OfAtomic
- java.lang.Object
-
- net.sf.saxon.tree.iter.EmptyIterator<AtomicValue>
-
- net.sf.saxon.tree.iter.EmptyIterator.OfAtomic
-
- All Implemented Interfaces:
Closeable,AutoCloseable,LastPositionFinder,AtomizedValueIterator<AtomicValue>,SequenceIterator<AtomicValue>,AtomicIterator,GroundedIterator<AtomicValue>,LookaheadIterator<AtomicValue>,ReversibleIterator<AtomicValue>,UnfailingIterator<AtomicValue>
- Enclosing class:
- EmptyIterator<T extends Item<?>>
public static class EmptyIterator.OfAtomic extends EmptyIterator<AtomicValue> implements AtomicIterator
An empty iterator for use where a sequence of atomic values is required
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.saxon.tree.iter.EmptyIterator
EmptyIterator.OfAtomic, EmptyIterator.OfNodes
-
-
Field Summary
Fields Modifier and Type Field Description static EmptyIterator.OfAtomicTHE_INSTANCE-
Fields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
-
-
Constructor Summary
Constructors Constructor Description OfAtomic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AtomicValuenext()Get the next item.-
Methods inherited from class net.sf.saxon.tree.iter.EmptyIterator
emptyIterator, getInstance, getLength, getProperties, getResidue, getReverseIterator, hasNext, materialize, nextAtomizedValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getProperties
-
Methods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
firstWith, forEach, toGroundedValue, toList
-
-
-
-
Field Detail
-
THE_INSTANCE
public static final EmptyIterator.OfAtomic THE_INSTANCE
-
-
Method Detail
-
next
public AtomicValue next()
Get the next item.- Specified by:
nextin interfaceAtomicIterator- Specified by:
nextin interfaceSequenceIterator<AtomicValue>- Specified by:
nextin interfaceUnfailingIterator<AtomicValue>- Overrides:
nextin classEmptyIterator<AtomicValue>- Returns:
- the next item. For the EmptyIterator this is always null.
-
-