dk.statsbiblioteket.doms.summa.oai
Class ListRecordsResponse
java.lang.Object
dk.statsbiblioteket.doms.summa.oai.Response
dk.statsbiblioteket.doms.summa.oai.ListRecordsResponse
- All Implemented Interfaces:
- java.lang.Iterable<Record>
public class ListRecordsResponse
- extends Response
- implements java.lang.Iterable<Record>
A Response for an oai request with verb ListRecords.
- Version:
- summaStorage-0.3 - build date 01/31/2007 14:17
|
Nested Class Summary |
private class |
ListRecordsResponse.ResumingIterator
Helper class to transparently iterate over a ListRecords response
automatically fetching the next page in case of resumption tokens. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private final Log log
responseDate
private java.lang.String responseDate
serviceURL
private java.lang.String serviceURL
verb
private java.lang.String verb
resumptionToken
private java.lang.String resumptionToken
parser
ListRecordsResponseSAXParser parser
id
private IdentifyResponse id
ListRecordsResponse
public ListRecordsResponse(java.io.InputStream in,
IdentifyResponse id)
parse
public Response parse()
- Specified by:
parse in class Response
getResponseDate
public java.lang.String getResponseDate()
- Specified by:
getResponseDate in class Response
getVerb
public java.lang.String getVerb()
- Specified by:
getVerb in class Response
getServiceURL
public java.lang.String getServiceURL()
- Specified by:
getServiceURL in class Response
iterator
public java.util.Iterator<Record> iterator()
- Specified by:
iterator in interface java.lang.Iterable<Record>
getResumptionToken
public java.lang.String getResumptionToken()
- Specified by:
getResumptionToken in class Response
isParsing
public boolean isParsing()
- Specified by:
isParsing in class Response