Class Identify
java.lang.Object
edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
edu.ucsb.nceas.metacat.oaipmh.harvester.Identify
This class represents an Identify 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:protocolVersion value from the Identify responseMethods inherited from class edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
getDocument, getErrors, getNodeList, getRequestURL, getSchemaLocation, getSingleString, runVerb, toString
-
Constructor Details
-
Identify
public Identify()Mock object constructor (for unit testing purposes) -
Identify
public Identify(String baseURL) throws IOException, ParserConfigurationException, SAXException, TransformerException Client-side Identify 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
-
getProtocolVersion
Get the oai:protocolVersion value from the Identify response- Returns:
- the oai:protocolVersion value
- Throws:
TransformerException
NoSuchFieldException
-