org.apache.jackrabbit.rmi.iterator
Class ArrayPropertyIterator

java.lang.Object
  extended byorg.apache.jackrabbit.rmi.iterator.ArrayIterator
      extended byorg.apache.jackrabbit.rmi.iterator.ArrayPropertyIterator
All Implemented Interfaces:
Iterator, PropertyIterator, RangeIterator

public class ArrayPropertyIterator
extends ArrayIterator
implements PropertyIterator

Array implementation of the JCR PropertyIterator interface. This class is used by the JCR-RMI client adapters to convert property arrays to iterators.

Author:
Jukka Zitting

Constructor Summary
ArrayPropertyIterator(Property[] properties)
          Creates an iterator for the given array of properties.
 
Method Summary
 Property nextProperty()
          
 
Methods inherited from class org.apache.jackrabbit.rmi.iterator.ArrayIterator
getPosition, getSize, hasNext, next, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jcr.RangeIterator
getPosition, getSize, skip
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Constructor Detail

ArrayPropertyIterator

public ArrayPropertyIterator(Property[] properties)
Creates an iterator for the given array of properties.

Parameters:
properties - the properties to iterate
Method Detail

nextProperty

public Property nextProperty()

Specified by:
nextProperty in interface PropertyIterator


Copyright © 2004-2005 . All Rights Reserved.