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.String
ELM_LOCALNAME
Constant for the local namestatic java.lang.String
ELM_NAME
Constant 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 forEPPIssuer
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 forEPPIssuer
with all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPIssuer
.void
decode(org.w3c.dom.Element aElement)
Decode theEPPMark
componentorg.w3c.dom.Element
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML documentboolean
equals(java.lang.Object aObject)
implements a deepEPPIssuer
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 theEPPCodecComponent
.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 ofObject.toString
, which will result in an indented XMLString
representation 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 forEPPIssuer
that 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 forEPPIssuer
with 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.CloneNotSupportedException
CloneEPPIssuer
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in 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 EPPEncodeException
Sets all this instance's data in the given XML document- Specified by:
encode
in 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 EPPDecodeException
Decode theEPPMark
component- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- Root element of theEPPMark
- Throws:
EPPDecodeException
- Error decoding theEPPMark
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPIssuer
compare.- Overrides:
equals
in classjava.lang.Object
- Parameters:
aObject
-EPPIssuer
instance 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;
null
otherwise.
-
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;
null
otherwise.
-
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;
null
otherwise.
-
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;
null
otherwise.
-
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;
null
otherwise.
-
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;
null
otherwise.
-
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 XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Returns:
- XML namespace for the
EPPCodecComponent
.
-
-