Package com.verisign.epp.codec.registry
Class EPPRegistrySupportedStatus
java.lang.Object
com.verisign.epp.codec.registry.EPPRegistrySupportedStatus
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
This class holds a
List of supported status used in
EPPRegistryDomain, EPPRegistryHost and
EPPRegistryContact, as per RFC 5731, 5732 and 5733, respectively.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassDefines constants for statuses. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd one status to an existingList.clone()CloneEPPRegistrySupportedStatus.voidDecode theEPPRegistrySupportedStatusattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPRegistrySupportedStatusinstance.booleanimplements a deepEPPRegistrySupportedStatuscompare.Returns the XML namespace associated with theEPPCodecComponent.Gets theListof statuses.voidsetStatuses(List statuses) Sets theListof statuses.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_NAME
XML Element Name ofEPPRegistrySupportedStatusroot element.- See Also:
-
ELM_NAME_STATUS
XML Element Name ofstatusattribute.- See Also:
-
-
Constructor Details
-
EPPRegistrySupportedStatus
public EPPRegistrySupportedStatus()
-
-
Method Details
-
encode
Encode a DOM Element tree from the attributes of theEPPRegistrySupportedStatusinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistrySupportedStatusinstance. - Throws:
EPPEncodeException- - Unable to encodeEPPRegistrySupportedStatusinstance.
-
decode
Decode theEPPRegistrySupportedStatusattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPRegistrySupportedStatusfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPRegistrySupportedStatus.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRegistrySupportedStatus - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
implements a deepEPPRegistrySupportedStatuscompare. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getStatuses
Gets theListof statuses.- Returns:
Listof statuses inString
-
setStatuses
Sets theListof statuses.- Parameters:
statuses-Listof statuses inString
-
addStatus
Add one status to an existingList.- Parameters:
status- statusString
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-