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 ofNode
s withnextNode
as well as askip
method inherited fromRangeIterator
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Node
nextNode()
Returns the nextNode
in the iteration.-
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
-
-
-
-
Method Detail
-
nextNode
Node nextNode()
Returns the nextNode
in the iteration.- Returns:
- the next
Node
in the iteration. - Throws:
java.util.NoSuchElementException
- if iteration has no moreNode
s.
-
-