Package com.verisign.epp.codec.contact
Class EPPContactDiscloseAddress
java.lang.Object
com.verisign.epp.codec.contact.EPPContactDiscloseAddress
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Deprecated.
Represents a contact disclose address definition.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.Value of the INT in contact disclose type mapping.static final StringDeprecated.Value of the LOC in contact disclose type mapping.static final StringDeprecated.Constant for disclose address local name.static final StringDeprecated.XML Element Name ofEPPContactDiscloseAddressroot element. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a new instance of EPPContactDiscloseAddress.EPPContactDiscloseAddress(String aType) Deprecated.Create a new instance of EPPContactDiscloseAddress with the given type -
Method Summary
Modifier and TypeMethodDescriptionclone()Deprecated.CloneEPPContactDiscloseAddress.voidDeprecated.Decode theEPPContactDiscloseattributes from the aElement DOM Element tree.Deprecated.Encode a DOM Element tree from the attributes of theEPPContactDiscloseAddressinstance.booleanDeprecated.implements a deepEPPContactDiscloseAddresscompare.Deprecated.Returns the XML namespace associated with theEPPCodecComponent.getType()Deprecated.Gets the type of the address element.voidDeprecated.Sets the type of the address element.
-
Field Details
-
ATTR_TYPE_INT
Deprecated.Value of the INT in contact disclose type mapping.- See Also:
-
ATTR_TYPE_LOC
Deprecated.Value of the LOC in contact disclose type mapping.- See Also:
-
ELM_LOCALNAME
Deprecated.Constant for disclose address local name.- See Also:
-
ELM_NAME
Deprecated.XML Element Name ofEPPContactDiscloseAddressroot element.- See Also:
-
-
Constructor Details
-
EPPContactDiscloseAddress
public EPPContactDiscloseAddress()Deprecated.Create a new instance of EPPContactDiscloseAddress. -
EPPContactDiscloseAddress
Deprecated.Create a new instance of EPPContactDiscloseAddress with the given type- Parameters:
aType- the type value to use for this instance. Should use eitherATTR_TYPE_INTorATTR_TYPE_LOC.
-
-
Method Details
-
clone
Deprecated.CloneEPPContactDiscloseAddress.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPContactDiscloseAddress - Throws:
CloneNotSupportedException- standard Object.clone exception
-
decode
Deprecated.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
Deprecated.Encode a DOM Element tree from the attributes of theEPPContactDiscloseAddressinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- The encoded DOM
Element - Throws:
EPPEncodeException- Error encoding
-
equals
Deprecated.implements a deepEPPContactDiscloseAddresscompare. -
getType
Deprecated.Gets the type of the address element.- Returns:
- Should be either
ATTR_TYPE_INTorATTR_TYPE_LOC.
-
setType
Deprecated.Sets the type of the address element.- Parameters:
aType- Should be eitherATTR_TYPE_INTorATTR_TYPE_LOC.
-
getNamespace
Deprecated.Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
addrIntandaddrLocattributes defined inEPPContactDisclose.