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