Class ClientPrincipalIterator

  extended by org.apache.jackrabbit.rmi.client.ClientObject
      extended by org.apache.jackrabbit.rmi.client.iterator.ClientIterator
          extended by org.apache.jackrabbit.rmi.client.principal.ClientPrincipalIterator
All Implemented Interfaces:
Iterator, RangeIterator

public class ClientPrincipalIterator
extends ClientIterator

A ClientIterator for iterating remote principals

Constructor Summary
ClientPrincipalIterator(RemoteIterator iterator, LocalAdapterFactory factory)
Method Summary
protected  Object getObject(Object remote)
          Returns a local adapter for the given remote object.
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

Constructor Detail


public ClientPrincipalIterator(RemoteIterator iterator,
                               LocalAdapterFactory factory)
Method Detail


protected Object getObject(Object remote)
Returns a local adapter for the given remote object. This abstract method is used by to convert the remote references returned by the remote iterator to local adapters.

Subclasses should implement this method to use the local adapter factory to create local adapters of the specific element type.

Specified by:
getObject in class ClientIterator
remote - remote object
local adapter

Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.