Skip navigation links

Oracle® Database XML Java API Reference
11g Release 1 (11.1)

B28391-01


javax.jcr
Interface NodeIterator

All Superinterfaces:
java.util.Iterator, RangeIterator

public interface NodeIterator
extends RangeIterator

Allows easy iteration through a list of Nodes with nextNode as well as a skip method inherited from RangeIterator.


Method Summary
 Node nextNode()
          Returns the next Node in the iteration.

 

Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip

 

Methods inherited from interface java.util.Iterator
hasNext, next, remove

 

Method Detail

nextNode

Node nextNode()
Returns the next Node in the iteration.
Returns:
the next Node in the iteration.
Throws:
java.util.NoSuchElementException - if iteration has no more Nodes.

Skip navigation links

Oracle® Database XML Java API Reference
11g Release 1 (11.1)

B28391-01


Copyright © 2004-2005 Day Software Management AG. All Rights Reserved.