|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistrySupportedStatus
public class EPPRegistrySupportedStatus
This class holds a List of supported status used in
EPPRegistryDomain, EPPRegistryHost and
EPPRegistryContact, as per RFC 5731, 5732 and 5733, respectively.
EPPRegistryDomain,
EPPRegistryHost,
EPPRegistryContact,
Serialized Form| Nested Class Summary | |
|---|---|
class |
EPPRegistrySupportedStatus.Status
Defines constants for statuses. |
| Field Summary | |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistrySupportedStatus root element. |
static java.lang.String |
ELM_NAME_STATUS
XML Element Name of status attribute. |
| Constructor Summary | |
|---|---|
EPPRegistrySupportedStatus()
|
|
| Method Summary | |
|---|---|
void |
addStatus(java.lang.String status)
Add one status to an existing List. |
java.lang.Object |
clone()
Clone EPPRegistrySupportedStatus. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistrySupportedStatus attributes from the
aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPRegistrySupportedStatus instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistrySupportedStatus compare. |
java.util.List |
getStatuses()
Gets the List of statuses. |
void |
setStatuses(java.util.List statuses)
Sets the List of statuses. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_NAME
EPPRegistrySupportedStatus root element.
public static final java.lang.String ELM_NAME_STATUS
status attribute.
| Constructor Detail |
|---|
public EPPRegistrySupportedStatus()
| Method Detail |
|---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistrySupportedStatus instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.
EPPRegistrySupportedStatus instance.
EPPEncodeException - - Unable to encode EPPRegistrySupportedStatus
instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistrySupportedStatus attributes from the
aElement DOM Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistrySupportedStatus
from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistrySupportedStatus.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistrySupportedStatus
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistrySupportedStatus compare.
equals in class java.lang.ObjectaObject - EPPRegistrySupportedStatus instance to compare
with
true if this object is the same as the aObject argument;
false otherwisepublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class java.lang.ObjectString if successful;
ERROR otherwise.public java.util.List getStatuses()
List of statuses.
Stringpublic void setStatuses(java.util.List statuses)
List of statuses.
statuses - List of statuses in Stringpublic void addStatus(java.lang.String status)
List.
status - status String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||