Package com.verisign.epp.codec.coaext
Class EPPCoaExtValue
java.lang.Object
com.verisign.epp.codec.coaext.EPPCoaExtValue
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPCodecComponent that encodes and decodes a COA Value Tag.
Title: EPP 1.0 Client Object Attribute - Value
Description: The Value tag represents the value of a Client Object Attribute. It contains simply the Client Object Attribute value as text, and is only used in the company of a Key tag which identifies it.
Copyright: Copyright (c) 2011
Company: VeriSign
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate an EPPCoaExtValue instanceEPPCoaExtValue(String aValue) Create a EPPCoaExtValue intance with the given value -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPCoaExtValue.voidDecode the EPPCoaExtValue componentSets all this instance's data in the given XML documentbooleanimplements a deepEPPCoaExtValuecompare.Returns the XML namespace associated with theEPPCodecComponent.getValue()Returns the value to a key/value pair.voidSets the Value
-
Field Details
-
ELM_NAME
Constant for the COA value tag- See Also:
-
-
Constructor Details
-
EPPCoaExtValue
public EPPCoaExtValue()Create an EPPCoaExtValue instance -
EPPCoaExtValue
Create a EPPCoaExtValue intance with the given value- Parameters:
aValue- the value
-
-
Method Details
-
clone
CloneEPPCoaExtValue.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPCoaExtValue - 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 EPPCoaExtValue component- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode- Throws:
EPPDecodeException- On decoding error
-
equals
implements a deepEPPCoaExtValuecompare. -
getValue
Returns the value to a key/value pair.- Returns:
- the value
-
setValue
Sets the Value- Parameters:
aValue- - The value to a key/value pair
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-