Skip navigation links

Oracle® Database XML Java API Reference
11g Release 2 (11.2)

E10769-01


javax.jcr.version
Interface VersionIterator

All Superinterfaces:
java.util.Iterator, RangeIterator

public interface VersionIterator
extends RangeIterator

Allows easy iteration through a list of Versions objects with nextVersion as well as a skip method inherited from RangeIterator.


Method Summary
 Version nextVersion()
          Returns the next Version 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

nextVersion

Version nextVersion()
Returns the next Version in the iteration.
Returns:
the next Version in the iteration.
Throws:
java.util.NoSuchElementException - if iteration has no more Versions.

Skip navigation links

Oracle® Database XML Java API Reference
11g Release 2 (11.2)

E10769-01


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