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<uiuc.oai.OAIRecord>, org.gcube.data.streams.Stream<uiuc.oai.OAIRecord>

public abstract class RepositoryIterator
extends RecordIterator

Author:
Fabio Simeoni

Constructor Summary
RepositoryIterator()
           
 
Method Summary
protected abstract  uiuc.oai.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
 

Constructor Detail

RepositoryIterator

public RepositoryIterator()
Method Detail

hasNext

public boolean hasNext()

fetchRecords

protected abstract uiuc.oai.OAIRecordList fetchRecords()
                                                throws uiuc.oai.OAIException
Throws:
uiuc.oai.OAIException


Copyright © 2012. All Rights Reserved.