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
public interface AxisIterator extends UnfailingIterator<NodeInfo>
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeInfonext()Get the next item in the sequence.-
Methods inherited from interface net.sf.saxon.om.SequenceIterator
close, forEachOrFail, getProperties, materialize
-
Methods inherited from interface net.sf.saxon.tree.iter.UnfailingIterator
firstWith, forEach, toGroundedValue, toList
-
-
-
-
Method Detail
-
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.
-
-