Package com.verisign.epp.codec.contact
Class EPPContactDiscloseOrg
- java.lang.Object
-
- com.verisign.epp.codec.contact.EPPContactDiscloseOrg
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
@Deprecated public class EPPContactDiscloseOrg extends java.lang.Object implements EPPCodecComponent
Deprecated.Represents a contact disclose org definition.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringATTR_TYPE_INTDeprecated.Value of the INT in contact disclose type mapping.static java.lang.StringATTR_TYPE_LOCDeprecated.Value of the LOC in contact disclose type mapping.static java.lang.StringELM_LOCALNAMEDeprecated.Constant for disclose address local name.static java.lang.StringELM_NAMEDeprecated.XML Element Name ofEPPContactDiscloseOrgroot element.
-
Constructor Summary
Constructors Constructor Description EPPContactDiscloseOrg()Deprecated.Create a new instance of EPPContactDiscloseOrgEPPContactDiscloseOrg(java.lang.String aType)Deprecated.Create a new instance of EPPContactDiscloseOrg with the given type
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Objectclone()Deprecated.CloneEPPContactDiscloseOrg.voiddecode(org.w3c.dom.Element aElement)Deprecated.Decode theEPPContactDiscloseattributes from the aElement DOM Element tree.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Deprecated.Encode a DOM Element tree from the attributes of theEPPContactDiscloseOrginstance.booleanequals(java.lang.Object aObject)Deprecated.implements a deepEPPContactDiscloseOrgcompare.java.lang.StringgetNamespace()Deprecated.Returns the XML namespace associated with theEPPCodecComponent.java.lang.StringgetType()Deprecated.Gets the type of the org element.voidsetType(java.lang.String aType)Deprecated.Sets the type of the org element.
-
-
-
Field Detail
-
ATTR_TYPE_INT
public static final java.lang.String ATTR_TYPE_INT
Deprecated.Value of the INT in contact disclose type mapping.- See Also:
- Constant Field Values
-
ATTR_TYPE_LOC
public static final java.lang.String ATTR_TYPE_LOC
Deprecated.Value of the LOC in contact disclose type mapping.- See Also:
- Constant Field Values
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
Deprecated.Constant for disclose address local name.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
Deprecated.XML Element Name ofEPPContactDiscloseOrgroot element.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPContactDiscloseOrg
public EPPContactDiscloseOrg()
Deprecated.Create a new instance of EPPContactDiscloseOrg
-
EPPContactDiscloseOrg
public EPPContactDiscloseOrg(java.lang.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 eitherATTR_TYPE_INTorATTR_TYPE_LOC.
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionDeprecated.CloneEPPContactDiscloseOrg.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPContactDiscloseOrg - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDeprecated.Decode theEPPContactDiscloseattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the report fragment of XML- Throws:
EPPDecodeException- On decoding error
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionDeprecated.Encode a DOM Element tree from the attributes of theEPPContactDiscloseOrginstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- DOM Element of encoded object
- Throws:
EPPEncodeException- On encoding error
-
equals
public boolean equals(java.lang.Object aObject)
Deprecated.implements a deepEPPContactDiscloseOrgcompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPContactDiscloseOrginstance to compare with- Returns:
- true if equal false otherwise
-
getType
public java.lang.String getType()
Deprecated.Gets the type of the org element.- Returns:
- Should be either
ATTR_TYPE_INTorATTR_TYPE_LOC.
-
setType
public void setType(java.lang.String aType)
Deprecated.Sets the type of the org element.- Parameters:
aType- Should be eitherATTR_TYPE_INTorATTR_TYPE_LOC.
-
getNamespace
public java.lang.String getNamespace()
Deprecated.Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-