org.apache.jackrabbit.rmi.client.iterator
Class ClientNodeTypeIterator

java.lang.Object
  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.iterator.ClientIterator
          extended by org.apache.jackrabbit.rmi.client.iterator.ClientNodeTypeIterator
All Implemented Interfaces:
Iterator, NodeTypeIterator, RangeIterator

public class ClientNodeTypeIterator
extends ClientIterator
implements NodeTypeIterator

A ClientIterator for iterating remote node types.


Constructor Summary
ClientNodeTypeIterator(RemoteIterator iterator, LocalAdapterFactory factory)
          Creates a ClientNodeTypeIterator instance.
 
Method Summary
protected  Object getObject(Object remote)
          Creates and returns a local adapter for the given remote node.
 NodeType nextNodeType()
          Returns the next node type in this iteration.
 
Methods inherited from class org.apache.jackrabbit.rmi.client.iterator.ClientIterator
getPosition, getSize, hasNext, next, remove, skip
 
Methods inherited from class org.apache.jackrabbit.rmi.client.ClientObject
getFactory, getItem, getNode, getNodeTypeArray
 
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

ClientNodeTypeIterator

public ClientNodeTypeIterator(RemoteIterator iterator,
                              LocalAdapterFactory factory)
Creates a ClientNodeTypeIterator instance.

Parameters:
iterator - remote iterator
factory - local adapter factory
Method Detail

getObject

protected Object getObject(Object remote)
Creates and returns a local adapter for the given remote node.

Specified by:
getObject in class ClientIterator
Parameters:
remote - remote referecne
Returns:
local adapter
See Also:
ClientIterator.getObject(Object)

nextNodeType

public NodeType nextNodeType()
Returns the next node type in this iteration.

Specified by:
nextNodeType in interface NodeTypeIterator
Returns:
next node type
See Also:
NodeTypeIterator.nextNodeType()


Copyright © 2011-2013 Adobe Systems Incorporated. All Rights Reserved.