public class EPPCoaExtKey extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 Client Object Attribute - Key
Description: The Key tag represents the name of a Client Object Attribute. It contains simply the Client Object Attribute name as text.
Copyright: Copyright (c) 2011
Company: VeriSign
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
Constant for the key tag
|
| Constructor and Description |
|---|
EPPCoaExtKey()
Create an EPPCoaExtKey instance
|
EPPCoaExtKey(java.lang.String aKey)
Create a EPPCoaExtKey intance with the given key
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPCoaExtKey. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPCoaExtKey component
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPCoaExtKey compare. |
java.lang.String |
getKey()
Returns the key to a key/value pair.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
void |
setKey(java.lang.String aKey)
Sets the Key
|
public static final java.lang.String ELM_NAME
public EPPCoaExtKey()
public EPPCoaExtKey(java.lang.String aKey)
aKey - the keypublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCoaExtKey.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPCoaExtKeyjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - a DOM Document to attach data to.EPPEncodeException - Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - DOM Element to decodeEPPDecodeException - On decoding errorpublic boolean equals(java.lang.Object aObject)
EPPCoaExtKey compare.equals in class java.lang.ObjectaObject - EPPCoaExtKey instance to compare withpublic java.lang.String getKey()
public void setKey(java.lang.String aKey)
aKey - Key of COApublic java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.