org.apache.jackrabbit.rmi.client.iterator
Class ClientRowIterator
java.lang.Object
org.apache.jackrabbit.rmi.client.ClientObject
org.apache.jackrabbit.rmi.client.iterator.ClientIterator
org.apache.jackrabbit.rmi.client.iterator.ClientRowIterator
- All Implemented Interfaces:
- Iterator, javax.jcr.query.RowIterator, javax.jcr.RangeIterator
public class ClientRowIterator
- extends ClientIterator
- implements javax.jcr.query.RowIterator
A ClientIterator for iterating remote rows.
Method Summary |
protected Object |
getObject(Object remote)
Creates and returns a local adapter for the given remote row. |
javax.jcr.query.Row |
nextRow()
Returns the next row in this iteration. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface javax.jcr.RangeIterator |
getPosition, getSize, skip |
ClientRowIterator
public ClientRowIterator(RemoteIterator iterator,
LocalAdapterFactory factory)
- Creates a ClientRowIterator instance.
- Parameters:
iterator
- remote iteratorfactory
- local adapter factory
getObject
protected Object getObject(Object remote)
- Creates and returns a local adapter for the given remote row.
- Specified by:
getObject
in class ClientIterator
- Parameters:
remote
- remote reference
- Returns:
- local adapter
- See Also:
ClientIterator.getObject(Object)
nextRow
public javax.jcr.query.Row nextRow()
- Returns the next row in this iteration.
- Specified by:
nextRow
in interface javax.jcr.query.RowIterator
- Returns:
- next row
- See Also:
RowIterator.nextRow()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.