public class EPPRegistryCustomData extends java.lang.Object implements EPPCodecComponent
getKeyValues()
and setKeyValues(List)
to get and set the elements. Use
addKeyValue(EPPRegistryKeyValue)
to add one key/value pair to
existing List
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_NAME
XML Element Name of
EPPRegistryCustomData root element. |
Constructor and Description |
---|
EPPRegistryCustomData() |
Modifier and Type | Method and Description |
---|---|
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.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
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 . |
public static final java.lang.String ELM_NAME
EPPRegistryCustomData
root element.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryCustomData
instance.encode
in interface EPPCodecComponent
aDocument
- 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 EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryCustomData
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryCustomData
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryCustomData
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryCustomData
compare.equals
in class java.lang.Object
aObject
- EPPRegistryCustomData
instance to compare withtrue
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.Object
String
if successful;
ERROR
otherwise.public java.util.List getKeyValues()
List
of key/value pair, instance of
EPPRegistryKeyValue
public void setKeyValues(java.util.List keyValues)
keyValues
- List
of key/value pair, instance of
EPPRegistryKeyValue
public void addKeyValue(EPPRegistryKeyValue keyValue)
keyValue
- key/value pairpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.