Package net.sf.saxon.tree.iter
Class EmptyIterator.OfNodes
- All Implemented Interfaces:
Closeable,AutoCloseable,LastPositionFinder,AtomizedValueIterator<NodeInfo>,SequenceIterator<NodeInfo>,AxisIterator,GroundedIterator<NodeInfo>,LookaheadIterator<NodeInfo>,ReversibleIterator<NodeInfo>,UnfailingIterator<NodeInfo>
- Enclosing class:
- EmptyIterator<T extends Item<?>>
An empty iterator for use where a sequence of nodes is required
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.saxon.tree.iter.EmptyIterator
EmptyIterator.OfAtomic, EmptyIterator.OfNodes -
Field Summary
FieldsFields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.sf.saxon.tree.iter.EmptyIterator
emptyIterator, getInstance, getLength, getProperties, getResidue, getReverseIterator, hasNext, materialize, nextAtomizedValueMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getPropertiesMethods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
firstWith, forEach, toGroundedValue, toList
-
Field Details
-
THE_INSTANCE
-
-
Constructor Details
-
OfNodes
public OfNodes()
-
-
Method Details
-
next
Get the next item.- Specified by:
nextin interfaceAxisIterator- Specified by:
nextin interfaceSequenceIterator<NodeInfo>- Specified by:
nextin interfaceUnfailingIterator<NodeInfo>- Overrides:
nextin classEmptyIterator<NodeInfo>- Returns:
- the next item. For the EmptyIterator this is always null.
-