javax.jcr.query
Interface RowIterator

All Superinterfaces:
java.util.Iterator, RangeIterator

public interface RowIterator
extends RangeIterator

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


Method Summary
 Row nextRow()
          Returns the next Row 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

nextRow

Row nextRow()
Returns the next Row in the iteration.

Returns:
the next Row in the iteration.
Throws:
java.util.NoSuchElementException - if iteration has no more Rows.