Package net.sf.saxon.tree.iter
Class EmptyIterator.OfNodes
- java.lang.Object
-
- net.sf.saxon.tree.iter.EmptyIterator<NodeInfo>
-
- net.sf.saxon.tree.iter.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<?>>
public static class EmptyIterator.OfNodes extends EmptyIterator<NodeInfo> implements AxisIterator
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
Fields Modifier and Type Field Description static EmptyIterator.OfNodesTHE_INSTANCE-
Fields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD
-
-
Constructor Summary
Constructors Constructor Description OfNodes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInfonext()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.OfNodes THE_INSTANCE
-
-
Method Detail
-
next
public NodeInfo 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.
-
-