Package net.sf.saxon.tree.iter
Class ArrayIterator.OfNodes<N extends NodeInfo>
- java.lang.Object
-
- net.sf.saxon.tree.iter.ArrayIterator
-
- net.sf.saxon.tree.iter.ArrayIterator.Of<N>
-
- net.sf.saxon.tree.iter.ArrayIterator.OfNodes<N>
-
- All Implemented Interfaces:
java.io.Closeable
,java.lang.AutoCloseable
,LastPositionFinder
,SequenceIterator
,AxisIterator
,GroundedIterator
,LookaheadIterator
,ReversibleIterator
- Enclosing class:
- ArrayIterator
public static class ArrayIterator.OfNodes<N extends NodeInfo> extends ArrayIterator.Of<N> implements AxisIterator
ArrayIterator.OfNodes is a subclass of ArrayIterator where the array always contains Nodes; it therefore implements the AxisIterator interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.saxon.tree.iter.ArrayIterator
ArrayIterator.Of<T extends Item>, ArrayIterator.OfNodes<N extends NodeInfo>
-
-
Field Summary
-
Fields inherited from class net.sf.saxon.tree.iter.ArrayIterator.Of
items
-
Fields inherited from class net.sf.saxon.tree.iter.ArrayIterator
end, index, start
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInfo
next()
Get the next item in the array-
Methods inherited from class net.sf.saxon.tree.iter.ArrayIterator.Of
getArray, getEndPosition, getLength, getResidue, getReverseIterator, getStartPosition, hasNext, makeSliceIterator, materialize, supportsGetLength
-
Methods inherited from class net.sf.saxon.tree.iter.ArrayIterator
isActuallyGrounded, supportsHasNext
-
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, discharge
-
-
-
-
Constructor Detail
-
OfNodes
public OfNodes(N[] nodes)
-
-
Method Detail
-
next
public NodeInfo next()
Description copied from class:ArrayIterator.Of
Get the next item in the array- Specified by:
next
in interfaceAxisIterator
- Specified by:
next
in interfaceSequenceIterator
- Overrides:
next
in classArrayIterator.Of<N extends NodeInfo>
- Returns:
- the next item in the array
-
-