org.gcube.data.oai.tmplugin.repository.iterators
Class RepositoryIterator

java.lang.Object
  extended by org.gcube.data.oai.tmplugin.repository.iterators.RecordIterator
      extended by org.gcube.data.oai.tmplugin.repository.iterators.RepositoryIterator
All Implemented Interfaces:
Iterator<org.gcube.common.OAIRecord>, org.gcube.data.streams.Stream<org.gcube.common.OAIRecord>

public abstract class RepositoryIterator
extends RecordIterator

Author:
Fabio Simeoni

Constructor Summary
RepositoryIterator()
           
 
Method Summary
protected abstract  org.gcube.common.OAIRecordList fetchRecords()
           
 boolean hasNext()
           
 
Methods inherited from class org.gcube.data.oai.tmplugin.repository.iterators.RecordIterator
close, locator, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.gcube.data.streams.Stream
isClosed
 

Constructor Detail

RepositoryIterator

public RepositoryIterator()
Method Detail

hasNext

public boolean hasNext()

fetchRecords

protected abstract org.gcube.common.OAIRecordList fetchRecords()
                                                        throws org.gcube.common.OAIException
Throws:
org.gcube.common.OAIException


Copyright © 2013. All Rights Reserved.