Class EPPIssuer
- java.lang.Object
-
- com.verisign.epp.codec.signedMark.EPPIssuer
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPIssuer extends java.lang.Object implements EPPCodecComponent
Class for an address within anEPPMarkContact.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEConstant for the local namestatic java.lang.StringELM_NAMEConstant for the tag name
-
Constructor Summary
Constructors Constructor Description EPPIssuer()Default constructor forEPPIssuer.EPPIssuer(java.lang.String aId, java.lang.String aOrg, java.lang.String aEmail)Constructor forEPPIssuerthat 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 forEPPIssuerwith all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPIssuer.voiddecode(org.w3c.dom.Element aElement)Decode theEPPMarkcomponentorg.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Sets all this instance's data in the given XML documentbooleanequals(java.lang.Object aObject)implements a deepEPPIssuercompare.java.lang.StringgetEmail()Gets the issuer customer support email address.java.lang.StringgetId()Gets the issuer identifier.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.java.lang.StringgetOrg()Gets the organization name of the issuer.java.lang.StringgetUrl()Gets HTTP URL of the issuer's site.java.lang.StringgetVoice()Gets the issuer's voice telephone number.java.lang.StringgetVoiceExt()Gets the issuer's voice telephone number extension.voidsetEmail(java.lang.String aEmail)Sets the issuer customer support email address.voidsetId(java.lang.String aId)Sets the issuer identifier.voidsetOrg(java.lang.String aOrg)Sets the organization name of the issuer.voidsetUrl(java.lang.String aUrl)Sets HTTP URL of the issuer's site.voidsetVoice(java.lang.String aVoice)Sets the issuer's voice telephone number.voidsetVoiceExt(java.lang.String aVoiceExt)Sets the issuer's voice telephone extension number.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Constant for the local name- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
Constant for the tag name- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPIssuer
public EPPIssuer()
Default constructor forEPPIssuer.
-
EPPIssuer
public EPPIssuer(java.lang.String aId, java.lang.String aOrg, java.lang.String aEmail)Constructor forEPPIssuerthat takes the required attributes.- Parameters:
aId- Issuer identifieraOrg- Organization name of the issueraEmail- Issuer customer support email address
-
EPPIssuer
public 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 forEPPIssuerwith all attributes.- Parameters:
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.
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPIssuer.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPIssuer - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionSets all this instance's data in the given XML document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- a DOM Document to attach data to.- Returns:
- The root element of this component.
- Throws:
EPPEncodeException- Thrown if any errors prevent encoding.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPMarkcomponent- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root element of theEPPMark- Throws:
EPPDecodeException- Error decoding theEPPMark
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPIssuercompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPIssuerinstance to compare with- Returns:
- true if equal false otherwise
-
getId
public java.lang.String getId()
Gets the issuer identifier.- Returns:
- The issuer identifier if set;
nullotherwise.
-
setId
public void setId(java.lang.String aId)
Sets the issuer identifier.- Parameters:
aId- The issuer identifier
-
getOrg
public java.lang.String getOrg()
Gets the organization name of the issuer.- Returns:
- The organization name of the issuer if set;
nullotherwise.
-
setOrg
public void setOrg(java.lang.String aOrg)
Sets the organization name of the issuer.- Parameters:
aOrg- The organization name of the issuer.
-
getEmail
public java.lang.String getEmail()
Gets the issuer customer support email address.- Returns:
- Issuer customer support email address if set;
nullotherwise.
-
setEmail
public void setEmail(java.lang.String aEmail)
Sets the issuer customer support email address.- Parameters:
aEmail- Issuer customer support email address
-
getUrl
public java.lang.String getUrl()
Gets HTTP URL of the issuer's site.- Returns:
- HTTP URL of the issuer's site if set;
nullotherwise.
-
setUrl
public void setUrl(java.lang.String aUrl)
Sets HTTP URL of the issuer's site.- Parameters:
aUrl- Gets HTTP URL of the issuer's site.
-
getVoice
public java.lang.String getVoice()
Gets the issuer's voice telephone number.- Returns:
- The issuer's voice telephone number if defined;
nullotherwise.
-
setVoice
public void setVoice(java.lang.String aVoice)
Sets the issuer's voice telephone number.- Parameters:
aVoice- The issuer's voice telephone number.
-
getVoiceExt
public java.lang.String getVoiceExt()
Gets the issuer's voice telephone number extension.- Returns:
- The issuer's voice telephone number extension if defined;
nullotherwise.
-
setVoiceExt
public void setVoiceExt(java.lang.String aVoiceExt)
Sets the issuer's voice telephone extension number.- Parameters:
aVoiceExt- The issuer's voice telephone extension number.
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-