se.kb.oai.pmh
Class SetsList

java.lang.Object
  extended by se.kb.oai.pmh.ResponseBase
      extended by se.kb.oai.pmh.ListBase<Set>
          extended by se.kb.oai.pmh.SetsList

public class SetsList
extends ListBase<Set>

Class that represents the response from a ListSets request. Can be used to get a list of Sets, i.e. asList() will return a List<Set>.

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
SetsList(Document document)
          Creates an SetsList 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

SetsList

public SetsList(Document document)
         throws ErrorResponseException
Creates an SetsList from the returned response.

Parameters:
document - the response
Throws:
ErrorResponseException


Copyright © 2008. All Rights Reserved.