public class ClientNodeIterator extends ClientIterator implements NodeIterator
Constructor and Description |
---|
ClientNodeIterator(RemoteIterator iterator,
Session session,
LocalAdapterFactory factory)
Creates a ClientNodeIterator instance.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getObject(Object remote)
Creates and returns a local adapter for the given remote node.
|
Node |
nextNode()
Returns the next node in this iteration.
|
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 ClientNodeIterator(RemoteIterator iterator, Session session, LocalAdapterFactory factory)
iterator
- remote iteratorsession
- current sessionfactory
- local adapter factoryprotected Object getObject(Object remote)
getObject
in class ClientIterator
remote
- remote referecneClientIterator.getObject(Object)
public Node nextNode()
nextNode
in interface NodeIterator
NodeIterator.nextNode()
Copyright © 2004–2021 The Apache Software Foundation. All rights reserved.