public class ClientVersionIterator extends ClientIterator implements javax.jcr.version.VersionIterator
Constructor and Description |
---|
ClientVersionIterator(RemoteIterator iterator,
javax.jcr.Session session,
LocalAdapterFactory factory)
Creates a ClientVersionIterator instance.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
getObject(Object remote)
Creates and returns a local adapter for the given remote version.
|
javax.jcr.version.Version |
nextVersion()
Returns the next version in this iteration.
|
getPosition, getSize, hasNext, next, remove, skip
getFactory, getItem, getNode, getNodeTypeArray
public ClientVersionIterator(RemoteIterator iterator, javax.jcr.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 javax.jcr.version.Version nextVersion()
nextVersion
in interface javax.jcr.version.VersionIterator
VersionIterator.nextVersion()
Copyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.