|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.statsbiblioteket.doms.summa.oai.ListRecordsResponse.ResumingIterator
private class ListRecordsResponse.ResumingIterator
Helper class to transparently iterate over a ListRecords response automatically fetching the next page in case of resumption tokens.
Field Summary | |
---|---|
private java.util.Iterator<Record> |
currentIter
|
private ListRecordsResponseSAXParser |
currentParser
|
Constructor Summary | |
---|---|
ListRecordsResponse.ResumingIterator(ListRecordsResponseSAXParser firstParser)
|
Method Summary | |
---|---|
boolean |
hasNext()
|
Record |
next()
|
private ListRecordsResponseSAXParser |
nextParser()
|
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private ListRecordsResponseSAXParser currentParser
private java.util.Iterator<Record> currentIter
Constructor Detail |
---|
public ListRecordsResponse.ResumingIterator(ListRecordsResponseSAXParser firstParser)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<Record>
public Record next()
next
in interface java.util.Iterator<Record>
public void remove()
remove
in interface java.util.Iterator<Record>
private ListRecordsResponseSAXParser nextParser()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |