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 EPPCodecComponent
clone
in class java.lang.Object
EPPCoaExtKey
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- 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 EPPCodecComponent
aElement
- EPPDecodeException
public boolean equals(java.lang.Object aObject)
EPPCoaExtKey
compare.equals
in class java.lang.Object
aObject
- EPPCoaExtKey
instance to compare withpublic java.lang.String getKey()
public void setKey(java.lang.String aKey)
aKey
- public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.