Class EPPContactDiscloseOrg

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

@Deprecated public class EPPContactDiscloseOrg extends Object implements EPPCodecComponent
Deprecated.
Use the orgInt and orgLoc attributes defined in EPPContactDisclose.
Represents a contact disclose org definition.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Deprecated.
    Value of the INT in contact disclose type mapping.
    static final String
    Deprecated.
    Value of the LOC in contact disclose type mapping.
    static final String
    Deprecated.
    Constant for disclose address local name.
    static final String
    Deprecated.
    XML Element Name of EPPContactDiscloseOrg root element.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Create a new instance of EPPContactDiscloseOrg
    Deprecated.
    Create a new instance of EPPContactDiscloseOrg with the given type
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Clone EPPContactDiscloseOrg.
    void
    decode(Element aElement)
    Deprecated.
    Decode the EPPContactDisclose attributes from the aElement DOM Element tree.
    encode(Document aDocument)
    Deprecated.
    Encode a DOM Element tree from the attributes of the EPPContactDiscloseOrg instance.
    boolean
    equals(Object aObject)
    Deprecated.
    implements a deep EPPContactDiscloseOrg compare.
    Deprecated.
    Returns the XML namespace associated with the EPPCodecComponent.
    Deprecated.
    Gets the type of the org element.
    void
    setType(String aType)
    Deprecated.
    Sets the type of the org element.

    Methods inherited from class java.lang.Object

    finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ATTR_TYPE_INT

      public static final String ATTR_TYPE_INT
      Deprecated.
      Value of the INT in contact disclose type mapping.
      See Also:
    • ATTR_TYPE_LOC

      public static final String ATTR_TYPE_LOC
      Deprecated.
      Value of the LOC in contact disclose type mapping.
      See Also:
    • ELM_LOCALNAME

      public static final String ELM_LOCALNAME
      Deprecated.
      Constant for disclose address local name.
      See Also:
    • ELM_NAME

      public static final String ELM_NAME
      Deprecated.
      XML Element Name of EPPContactDiscloseOrg root element.
      See Also:
  • Constructor Details

    • EPPContactDiscloseOrg

      public EPPContactDiscloseOrg()
      Deprecated.
      Create a new instance of EPPContactDiscloseOrg
    • EPPContactDiscloseOrg

      public EPPContactDiscloseOrg(String aType)
      Deprecated.
      Create a new instance of EPPContactDiscloseOrg with the given type
      Parameters:
      aType - the type value to use for this instance. Should use either ATTR_TYPE_INT or ATTR_TYPE_LOC.
  • Method Details

    • clone

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

      public void decode(Element aElement) throws EPPDecodeException
      Deprecated.
      Decode the EPPContactDisclose attributes from the aElement DOM Element tree.
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - The root element of the report fragment of XML
      Throws:
      EPPDecodeException - On decoding error
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Deprecated.
      Encode a DOM Element tree from the attributes of the EPPContactDiscloseOrg instance.
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - The DOM Document to append data to
      Returns:
      DOM Element of encoded object
      Throws:
      EPPEncodeException - On encoding error
    • equals

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

      public String getType()
      Deprecated.
      Gets the type of the org element.
      Returns:
      Should be either ATTR_TYPE_INT or ATTR_TYPE_LOC.
    • setType

      public void setType(String aType)
      Deprecated.
      Sets the type of the org element.
      Parameters:
      aType - Should be either ATTR_TYPE_INT or ATTR_TYPE_LOC.
    • getNamespace

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