Package net.sf.saxon.tree.iter
Interface AxisIterator
- All Superinterfaces:
AutoCloseable,Closeable,SequenceIterator<NodeInfo>,UnfailingIterator<NodeInfo>
- All Known Implementing Classes:
AncestorEnumeration,AncestorIterator,ArrayIterator.OfNodes,AttributeEnumeration,AttributeIterator,ChildEnumeration,ConcatenatingAxisIterator,DescendantIterator,DescendantIteratorSansText,EmptyIterator.OfNodes,FollowingEnumeration,FollowingIterator,FollowingSiblingEnumeration,GraftingDescendantIterator,ListIterator.OfNodes,NamedChildIterator,Navigator.AncestorEnumeration,Navigator.AxisFilter,Navigator.DescendantEnumeration,Navigator.EmptyTextFilter,Navigator.FollowingEnumeration,Navigator.PrecedingEnumeration,NodeWrappingAxisIterator,PrecedingEnumeration,PrecedingIterator,PrecedingOrAncestorEnumeration,PrecedingSiblingEnumeration,PrecedingSiblingIterator,PrependAxisIterator,SiblingIterator,SingleNodeIterator,SteppingNavigator.DescendantAxisIterator,TreeEnumeration,VirtualCopy.VirtualCopier,WrappingIterator
A SequenceIterator is used to iterate over a sequence of items. An AxisIterator
is a SequenceIterator that throws no exceptions, and that always returns
nodes. The nodes should all be in the same document (though there are
some cases, such as PrependIterator, where this is the responsibility of the
user of the class and is not enforced.)
-
Field Summary
Fields inherited from interface net.sf.saxon.om.SequenceIterator
ATOMIZING, GROUNDED, LAST_POSITION_FINDER, LOOKAHEAD -
Method Summary
Methods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getProperties, materializeMethods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
firstWith, forEach, toGroundedValue, toList
-
Method Details
-
next
NodeInfo next()Description copied from interface:UnfailingIteratorGet the next item in the sequence.- Specified by:
nextin interfaceSequenceIterator<NodeInfo>- Specified by:
nextin interfaceUnfailingIterator<NodeInfo>- Returns:
- the next Item. If there are no more items, return null.
-