Package javax.jcr
Interface NodeIterator
-
- All Superinterfaces:
java.util.Iterator,RangeIterator
- All Known Implementing Classes:
FilteringNodeIterator,FrozenNodeIteratorAdapter,NodeIteratorAdapter
public interface NodeIterator extends RangeIterator
Allows easy iteration through a list ofNodes withnextNodeas well as askipmethod inherited fromRangeIterator.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodenextNode()Returns the nextNodein the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextNode
Node nextNode()
Returns the nextNodein the iteration.- Returns:
- the next
Nodein the iteration. - Throws:
java.util.NoSuchElementException- if iteration has no moreNodes.
-
-