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, RowIterator, RangeIterator
public class ClientRowIterator
- extends ClientIterator
- implements 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. |
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 |
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 Row nextRow()
- Returns the next row in this iteration.
- Specified by:
nextRow
in interface RowIterator
- Returns:
- next row
- See Also:
RowIterator.nextRow()
Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.