de.unidu.is.oai
Class Identify
java.lang.Object
de.unidu.is.oai.OAIRequest
de.unidu.is.oai.Identify
- public class Identify
- extends OAIRequest
- Version:
- $Revision: 1.4 $
This class encapsulates the Identify request
- Author:
- fischer
|
Constructor Summary |
Identify(java.lang.String url,
java.lang.String userAgent,
java.lang.String fromEmail)
|
| Methods inherited from class de.unidu.is.oai.OAIRequest |
doRequest, getModifiers, getRelevantElement, getRequest, getRequestResult, getUrl, getVerb, parse, setFromEmail, setModifiers, setRequestResult, setUrl, setUserAgent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Identify
public Identify(java.lang.String url,
java.lang.String userAgent,
java.lang.String fromEmail)
throws OAIException
- Parameters:
url - userAgent - fromEmail -
doIdentify
protected void doIdentify()
throws OAIException
- Throws:
OAIException
getId
public java.lang.String getId()
- Returns:
- repository id
extractBaseUrl
protected java.lang.String extractBaseUrl(org.w3c.dom.Element root)
throws OAIException
- Throws:
OAIException
extractRepositoryName
protected java.lang.String extractRepositoryName(org.w3c.dom.Element root)
throws OAIException
- Throws:
OAIException
setRepositoryName
protected void setRepositoryName(java.lang.String repositoryName)
- Parameters:
repositoryName -
extractAdminEmail
protected java.lang.String extractAdminEmail(org.w3c.dom.Element root)
throws OAIException
- Throws:
OAIException
setAdminEmail
protected void setAdminEmail(java.lang.String adminEmail)
- Parameters:
adminEmail -
extractId
protected java.lang.String extractId(org.w3c.dom.Element root)
throws OAIException
- Throws:
OAIException
extractDescription
protected java.lang.String extractDescription(org.w3c.dom.Element root)
throws OAIException
- Throws:
OAIException
setDescription
protected void setDescription(java.lang.String description)
- Parameters:
description -