Package javax.jcr
Interface NodeIterator
- All Superinterfaces:
Iterator,RangeIterator
- All Known Implementing Classes:
FilteringNodeIterator,FrozenNodeIteratorAdapter,NodeIteratorAdapter
Allows easy iteration through a list of
Nodes with
nextNode as well as a skip method inherited from
RangeIterator.-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, removeMethods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
Method Details
-
nextNode
Node nextNode()Returns the nextNodein the iteration.- Returns:
- the next
Nodein the iteration. - Throws:
NoSuchElementException- if iteration has no moreNodes.
-