public class ClientAccessControlPolicyIterator extends ClientIterator implements AccessControlPolicyIterator
Constructor and Description |
---|
ClientAccessControlPolicyIterator(RemoteIterator iterator,
LocalAdapterFactory factory) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getObject(Object remote)
Returns a local adapter for the given remote object.
|
AccessControlPolicy |
nextAccessControlPolicy() |
getPosition, getSize, hasNext, next, remove, skip
getFactory, getItem, getNode, getNodeTypeArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPosition, getSize, skip
forEachRemaining, hasNext, next, remove
public ClientAccessControlPolicyIterator(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 objectpublic AccessControlPolicy nextAccessControlPolicy()
nextAccessControlPolicy
in interface AccessControlPolicyIterator
Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.