Skip navigation links

Oracle Beehive Java Content Repository Java API Reference
Release 1 (1.4)

E13801-01


oracle.ocs.jcr.version
Interface OracleVersionIterator

All Superinterfaces:
java.util.Iterator, javax.jcr.RangeIterator, javax.jcr.version.VersionIterator

public interface OracleVersionIterator
extends javax.jcr.version.VersionIterator

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


Method Summary
 javax.jcr.version.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

javax.jcr.version.Version nextVersion()
Returns the next Version in the iteration.
Specified by:
nextVersion in interface javax.jcr.version.VersionIterator
Returns:
the next Version in the iteration.
Throws:
java.util.NoSuchElementException - if iteration has no more Versions.

Skip navigation links

Oracle Beehive Java Content Repository Java API Reference
Release 1 (1.4)

E13801-01


Copyright © 2008, Oracle. All rights reserved.