|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryCustomData
public class EPPRegistryCustomData
Represents custom data using key/value pairs. The <registry:customeData> element contains the following child elements:
getKeyValues()
and setKeyValues(List) to get and set the elements. Use
addKeyValue(EPPRegistryKeyValue) to add one key/value pair to
existing List.
EPPRegistryDomain,
EPPRegistryHost,
EPPRegistryContact,
EPPRegistryKeyValue,
Serialized Form| Field Summary | |
|---|---|
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryCustomData root element. |
| Constructor Summary | |
|---|---|
EPPRegistryCustomData()
|
|
| Method Summary | |
|---|---|
void |
addKeyValue(EPPRegistryKeyValue keyValue)
Add one key/value pair to existing key/value pairs. |
java.lang.Object |
clone()
Clone EPPRegistryCustomData. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryCustomData 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 EPPRegistryCustomData instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryCustomData compare. |
java.util.List |
getKeyValues()
Get the custom key/value pairs. |
void |
setKeyValues(java.util.List keyValues)
Set the custom key/value pairs. |
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
EPPRegistryCustomData root element.
| Constructor Detail |
|---|
public EPPRegistryCustomData()
| Method Detail |
|---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryCustomData instance.
encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.
EPPRegistryCustomData instance.
EPPEncodeException - - Unable to encode EPPRegistryCustomData instance.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryCustomData attributes from the aElement DOM
Element tree.
decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryCustomData from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryCustomData.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryCustomData
java.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryCustomData compare.
equals in class java.lang.ObjectaObject - EPPRegistryCustomData 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 getKeyValues()
List of key/value pair, instance of
EPPRegistryKeyValuepublic void setKeyValues(java.util.List keyValues)
keyValues - List of key/value pair, instance of
EPPRegistryKeyValuepublic void addKeyValue(EPPRegistryKeyValue keyValue)
keyValue - key/value pair
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||