public class ClientPrincipalIterator extends ClientIterator
Constructor and Description |
---|
ClientPrincipalIterator(RemoteIterator iterator,
LocalAdapterFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getObject(Object remote)
Returns a local adapter for the given remote object.
|
getPosition, getSize, hasNext, next, remove, skip
getFactory, getItem, getNode, getNodeTypeArray
public ClientPrincipalIterator(RemoteIterator iterator, LocalAdapterFactory factory)
protected Object getObject(Object remote)
ClientIterator.next()
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.
getObject
in class ClientIterator
remote
- remote objectCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.