org.apache.jackrabbit.rmi.iterator
Class ArrayNodeTypeIterator

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

public class ArrayNodeTypeIterator
extends ArrayIterator
implements NodeTypeIterator

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

Author:
Jukka Zitting

Constructor Summary
ArrayNodeTypeIterator(NodeType[] types)
          Creates an iterator for the given array of node types.
 
Method Summary
 NodeType nextNodeType()
          
 
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

ArrayNodeTypeIterator

public ArrayNodeTypeIterator(NodeType[] types)
Creates an iterator for the given array of node types.

Parameters:
types - the node types to iterate
Method Detail

nextNodeType

public NodeType nextNodeType()

Specified by:
nextNodeType in interface NodeTypeIterator


Copyright © 2004-2005 . All Rights Reserved.