Class EPPIssuer

java.lang.Object
com.verisign.epp.codec.signedMark.EPPIssuer
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPIssuer extends Object implements EPPCodecComponent
Class for an address within an EPPMarkContact.
See Also:
  • Field Details

  • Constructor Details

    • EPPIssuer

      public EPPIssuer()
      Default constructor for EPPIssuer.
    • EPPIssuer

      public EPPIssuer(String aId, String aOrg, String aEmail)
      Constructor for EPPIssuer that takes the required attributes.
      Parameters:
      aId - Issuer identifier
      aOrg - Organization name of the issuer
      aEmail - Issuer customer support email address
    • EPPIssuer

      public EPPIssuer(String aId, String aOrg, String aEmail, String aUrl, String aVoice, String aVoiceExt)
      Constructor for EPPIssuer with all attributes.
      Parameters:
      aId - Issuer identifier
      aOrg - Organization name of the issuer
      aEmail - Issuer customer support email address
      aUrl - HTTP URL of the issuer's site
      aVoice - Issuer's voice telephone number.
      aVoiceExt - Issuer's voice telephone number extension.
  • Method Details

    • clone

      public Object clone() throws CloneNotSupportedException
      Clone EPPIssuer.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of EPPIssuer
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Sets all this instance's data in the given XML document
      Specified by:
      encode in interface EPPCodecComponent
      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(Element aElement) throws EPPDecodeException
      Decode the EPPMark component
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - Root element of the EPPMark
      Throws:
      EPPDecodeException - Error decoding the EPPMark
    • equals

      public boolean equals(Object aObject)
      implements a deep EPPIssuer compare.
      Overrides:
      equals in class Object
      Parameters:
      aObject - EPPIssuer instance to compare with
      Returns:
      true if equal false otherwise
    • getId

      public String getId()
      Gets the issuer identifier.
      Returns:
      The issuer identifier if set; null otherwise.
    • setId

      public void setId(String aId)
      Sets the issuer identifier.
      Parameters:
      aId - The issuer identifier
    • getOrg

      public String getOrg()
      Gets the organization name of the issuer.
      Returns:
      The organization name of the issuer if set; null otherwise.
    • setOrg

      public void setOrg(String aOrg)
      Sets the organization name of the issuer.
      Parameters:
      aOrg - The organization name of the issuer.
    • getEmail

      public String getEmail()
      Gets the issuer customer support email address.
      Returns:
      Issuer customer support email address if set; null otherwise.
    • setEmail

      public void setEmail(String aEmail)
      Sets the issuer customer support email address.
      Parameters:
      aEmail - Issuer customer support email address
    • getUrl

      public 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(String aUrl)
      Sets HTTP URL of the issuer's site.
      Parameters:
      aUrl - Gets HTTP URL of the issuer's site.
    • getVoice

      public String getVoice()
      Gets the issuer's voice telephone number.
      Returns:
      The issuer's voice telephone number if defined; null otherwise.
    • setVoice

      public void setVoice(String aVoice)
      Sets the issuer's voice telephone number.
      Parameters:
      aVoice - The issuer's voice telephone number.
    • getVoiceExt

      public 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(String aVoiceExt)
      Sets the issuer's voice telephone extension number.
      Parameters:
      aVoiceExt - The issuer's voice telephone extension number.
    • toString

      public String toString()
      Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
      Overrides:
      toString in class Object
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      XML namespace for the EPPCodecComponent.