|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object se.kb.oai.pmh.ResponseBase se.kb.oai.pmh.Identification
public class Identification
Class that represents the information returned from an Identify
request.
Field Summary |
---|
Fields inherited from class se.kb.oai.pmh.ResponseBase |
---|
OAI_NS_PREFIX, OAI_NS_URI, response, responseDate, resumptionToken, xpath |
Constructor Summary | |
---|---|
Identification(Document document)
Creates an Identification from the returned response. |
Method Summary | |
---|---|
List<String> |
getAdminEmails()
Get a list of e-mails to the administrators of this repository. |
String |
getBaseUrl()
Get the base URL of the repository. |
String |
getCompression()
Get the compression type supported by this repository. |
String |
getDeletedRecord()
Get the support for deletes this repository has. |
List<Element> |
getDescriptions()
Get a list of descriptions of this repositories. |
String |
getEarliestDatestamp()
Get the earliest datestamp that exists in the repository. |
String |
getGranularity()
Get the granularity for datestamps in the repository. |
String |
getProtocolVersion()
Get the protocol version of OAI-PMH this repository supports. |
String |
getRepositoryName()
Get the name of this repository. |
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 |
---|
public Identification(Document document) throws ErrorResponseException
Identification
from the returned response.
document
- the response
ErrorResponseException
Method Detail |
---|
public List<String> getAdminEmails()
public String getBaseUrl()
public String getCompression()
public String getDeletedRecord()
public List<Element> getDescriptions()
public String getEarliestDatestamp()
public String getGranularity()
YYYY-MM-DD
, meaning day granularity
YYYY-MM-DDThh:mm:ssZ
, meaning second granularity
public String getProtocolVersion()
public String getRepositoryName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |