public class EPPIssuer extends java.lang.Object implements EPPCodecComponent
EPPMarkContact
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the local name
|
static java.lang.String |
ELM_NAME
Constant for the tag name
|
Constructor and Description |
---|
EPPIssuer()
Default constructor for
EPPIssuer . |
EPPIssuer(java.lang.String aId,
java.lang.String aOrg,
java.lang.String aEmail)
Constructor for
EPPIssuer that takes the required
attributes. |
EPPIssuer(java.lang.String aId,
java.lang.String aOrg,
java.lang.String aEmail,
java.lang.String aUrl,
java.lang.String aVoice,
java.lang.String aVoiceExt)
Constructor for
EPPIssuer with all attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPIssuer . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPMark component |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPIssuer compare. |
java.lang.String |
getEmail()
Gets the issuer customer support email address.
|
java.lang.String |
getId()
Gets the issuer identifier.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getOrg()
Gets the organization name of the issuer.
|
java.lang.String |
getUrl()
Gets HTTP URL of the issuer's site.
|
java.lang.String |
getVoice()
Gets the issuer's voice telephone number.
|
java.lang.String |
getVoiceExt()
Gets the issuer's voice telephone number extension.
|
void |
setEmail(java.lang.String aEmail)
Sets the issuer customer support email address.
|
void |
setId(java.lang.String aId)
Sets the issuer identifier.
|
void |
setOrg(java.lang.String aOrg)
Sets the organization name of the issuer.
|
void |
setUrl(java.lang.String aUrl)
Sets HTTP URL of the issuer's site.
|
void |
setVoice(java.lang.String aVoice)
Sets the issuer's voice telephone number.
|
void |
setVoiceExt(java.lang.String aVoiceExt)
Sets the issuer's voice telephone extension number.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPIssuer()
EPPIssuer
.public EPPIssuer(java.lang.String aId, java.lang.String aOrg, java.lang.String aEmail)
EPPIssuer
that takes the required
attributes.aId
- Issuer identifieraOrg
- Organization name of the issueraEmail
- Issuer customer support email addresspublic EPPIssuer(java.lang.String aId, java.lang.String aOrg, java.lang.String aEmail, java.lang.String aUrl, java.lang.String aVoice, java.lang.String aVoiceExt)
EPPIssuer
with all attributes.aId
- Issuer identifieraOrg
- Organization name of the issueraEmail
- Issuer customer support email addressaUrl
- HTTP URL of the issuer's siteaVoice
- Issuer's voice telephone number.aVoiceExt
- Issuer's voice telephone number extension.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPIssuer
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPIssuer
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPMark
componentdecode
in interface EPPCodecComponent
aElement
- Root element of the EPPMark
EPPDecodeException
- Error decoding the EPPMark
public boolean equals(java.lang.Object aObject)
EPPIssuer
compare.equals
in class java.lang.Object
aObject
- EPPIssuer
instance to compare withpublic java.lang.String getId()
null
otherwise.public void setId(java.lang.String aId)
aId
- The issuer identifierpublic java.lang.String getOrg()
null
otherwise.public void setOrg(java.lang.String aOrg)
aOrg
- The organization name of the issuer.public java.lang.String getEmail()
null
otherwise.public void setEmail(java.lang.String aEmail)
aEmail
- Issuer customer support email addresspublic java.lang.String getUrl()
null
otherwise.public void setUrl(java.lang.String aUrl)
aUrl
- Gets HTTP URL of the issuer's site.public java.lang.String getVoice()
null
otherwise.public void setVoice(java.lang.String aVoice)
aVoice
- The issuer's voice telephone number.public java.lang.String getVoiceExt()
null
otherwise.public void setVoiceExt(java.lang.String aVoiceExt)
aVoiceExt
- The issuer's voice telephone extension number.public java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.