Package com.verisign.epp.codec.coaext
Class EPPCoaExtKey
java.lang.Object
com.verisign.epp.codec.coaext.EPPCoaExtKey
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPCodecComponent that encodes and decodes a COA Key Tag.
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
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPCoaExtKey instanceEPPCoaExtKey(String aKey) Create a EPPCoaExtKey intance with the given key -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPCoaExtKey.voidDecode the EPPCoaExtKey componentSets all this instance's data in the given XML documentbooleanimplements a deepEPPCoaExtKeycompare.getKey()Returns the key to a key/value pair.Returns the XML namespace associated with theEPPCodecComponent.voidSets the Key
-
Field Details
-
ELM_NAME
Constant for the key tag- See Also:
-
-
Constructor Details
-
EPPCoaExtKey
public EPPCoaExtKey()Create an EPPCoaExtKey instance -
EPPCoaExtKey
Create a EPPCoaExtKey intance with the given key- Parameters:
aKey- the key
-
-
Method Details
-
clone
CloneEPPCoaExtKey.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPCoaExtKey - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Sets all this instance's data in the given XML document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- a DOM Document to attach data to.- Returns:
- The root element of this component.
- Throws:
EPPEncodeException- Thrown if any errors prevent encoding.
-
decode
Decode the EPPCoaExtKey component- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode- Throws:
EPPDecodeException- On decoding error
-
equals
implements a deepEPPCoaExtKeycompare. -
getKey
Returns the key to a key/value pair.- Returns:
- the COA key
-
setKey
Sets the Key- Parameters:
aKey- Key of COA
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-