se.kb.oai.pmh
Class RecordsList

java.lang.Object
  extended by se.kb.oai.pmh.ResponseBase
      extended by se.kb.oai.pmh.ListBase<Record>
          extended by se.kb.oai.pmh.RecordsList

public class RecordsList
extends ListBase<Record>

Class that represents the response from a ListRecords request. Can be used to get the list of Records that made up the response, i.e. asList() will return a List<Record>.

Author:
Oskar Grenholm, National Library of Sweden

Field Summary
 
Fields inherited from class se.kb.oai.pmh.ListBase
list
 
Fields inherited from class se.kb.oai.pmh.ResponseBase
OAI_NS_PREFIX, OAI_NS_URI, response, responseDate, resumptionToken, xpath
 
Constructor Summary
RecordsList(Document document)
          Creates a RecordsList from the returned response.
 
Method Summary
 
Methods inherited from class se.kb.oai.pmh.ListBase
asList, getResumptionToken, size
 
Methods inherited from class se.kb.oai.pmh.ResponseBase
getResponse, getResponseDate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecordsList

public RecordsList(Document document)
            throws ErrorResponseException
Creates a RecordsList from the returned response.

Parameters:
document - the response
Throws:
ErrorResponseException


Copyright © 2008. All Rights Reserved.