Class ListMetadataFormats
java.lang.Object
edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
edu.ucsb.nceas.metacat.oaipmh.harvester.ListMetadataFormats
This class represents an ListMetadataFormats 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
ConstructorDescriptionMock object constructor (for unit testing purposes)ListMetadataFormats
(String baseURL) Client-side ListMetadataFormats verb constructorListMetadataFormats
(String baseURL, String identifier) Client-side ListMetadataFormats verb constructor (identifier version) -
Method Summary
Methods inherited from class edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
getDocument, getErrors, getNodeList, getRequestURL, getSchemaLocation, getSingleString, runVerb, toString
-
Constructor Details
-
ListMetadataFormats
public ListMetadataFormats()Mock object constructor (for unit testing purposes) -
ListMetadataFormats
public ListMetadataFormats(String baseURL) throws IOException, ParserConfigurationException, SAXException, TransformerException Client-side ListMetadataFormats verb constructor- Parameters:
baseURL
- the baseURL of the server to be queried- Throws:
MalformedURLException
- the baseURL is badSAXException
- the xml response is badIOException
- an I/O error occurredParserConfigurationException
TransformerException
-
ListMetadataFormats
public ListMetadataFormats(String baseURL, String identifier) throws IOException, ParserConfigurationException, SAXException, TransformerException Client-side ListMetadataFormats verb constructor (identifier version)- Parameters:
baseURL
-identifier
-- Throws:
IOException
ParserConfigurationException
SAXException
TransformerException
-