edu.ucsb.nceas.metacat.oaipmh.harvester
Class Identify
java.lang.Object
edu.ucsb.nceas.metacat.oaipmh.harvester.HarvesterVerb
edu.ucsb.nceas.metacat.oaipmh.harvester.Identify
public class Identify
- extends HarvesterVerb
This class represents an Identify response on either the server or on the
client
- Author:
- Jeffrey A. Young, OCLC Online Computer Library Center
|
Constructor Summary |
Identify()
Mock object constructor (for unit testing purposes) |
Identify(java.lang.String baseURL)
Client-side Identify verb constructor |
|
Method Summary |
java.lang.String |
getProtocolVersion()
Get the oai:protocolVersion value from the Identify response |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Identify
public Identify()
- Mock object constructor (for unit testing purposes)
Identify
public Identify(java.lang.String baseURL)
throws java.io.IOException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
javax.xml.transform.TransformerException
- Client-side Identify verb constructor
- Parameters:
baseURL - the baseURL of the server to be queried
- Throws:
MalformedURLException - the baseURL is bad
java.io.IOException - an I/O error occurred
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
javax.xml.transform.TransformerException
getProtocolVersion
public java.lang.String getProtocolVersion()
throws javax.xml.transform.TransformerException,
java.lang.NoSuchFieldException
- Get the oai:protocolVersion value from the Identify response
- Returns:
- the oai:protocolVersion value
- Throws:
javax.xml.transform.TransformerException
java.lang.NoSuchFieldException
Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.