Class ListSets
java.lang.Object
edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
edu.ucsb.nceas.metacat.oaipmh.harvester.ListSets
This class represents an ListSets response on either the server or on the
client
- Author:
- Jeffrey A. Young, OCLC Online Computer Library Center
-
Field Summary
Fields inherited from class edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
SCHEMA_LOCATION_V2_0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the oai:resumptionToken from the responseMethods inherited from class edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
getDocument, getErrors, getNodeList, getRequestURL, getSchemaLocation, getSingleString, runVerb, toString
-
Constructor Details
-
ListSets
public ListSets()Mock object constructor (for unit testing purposes) -
ListSets
public ListSets(String baseURL) throws IOException, ParserConfigurationException, SAXException, TransformerException Client-side ListSets verb constructor- Parameters:
baseURL
- the baseURL of the server to be queried- Throws:
MalformedURLException
- the baseURL is badIOException
- an I/O error occurredParserConfigurationException
SAXException
TransformerException
-
-
Method Details
-
getResumptionToken
Get the oai:resumptionToken from the response- Returns:
- the oai:resumptionToken as a String
- Throws:
TransformerException
NoSuchFieldException
-