org.gcube.contentmanagement.contentmanager.stubs.calls.iterators
Class GDocRSIterator

java.lang.Object
  extended by org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.BaseRSIterator<T>
      extended by org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.RSIterator<GDoc>
          extended by org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.GDocRSIterator
All Implemented Interfaces:
RemoteIterator<GDoc>

public class GDocRSIterator
extends RSIterator<GDoc>

An RSIterator over GDocs.

Author:
Fabio Simeoni (University of Strathclyde)

Constructor Summary
GDocRSIterator(java.net.URI l)
          Creates an instance with a result set locator.
GDocRSIterator(java.net.URI l, int timeout)
          Creates an instance with a result set locator and a reading timeout.
 
Method Summary
 
Methods inherited from class org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.RSIterator
hasNext, next
 
Methods inherited from class org.gcube.contentmanagement.contentmanager.stubs.calls.iterators.BaseRSIterator
close, getRSIterator, locator
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GDocRSIterator

public GDocRSIterator(java.net.URI l)
               throws java.lang.Exception
Creates an instance with a result set locator.

Parameters:
l - the locator.
Throws:
java.lang.Exception - if the result set could not be accessed from the locator.

GDocRSIterator

public GDocRSIterator(java.net.URI l,
                      int timeout)
               throws java.lang.Exception
Creates an instance with a result set locator and a reading timeout.

Parameters:
l - the locator.
timeout - the read timeout, in seconds.
Throws:
java.lang.Exception - if the result set could not be accessed from the locator.