Package com.verisign.epp.codec.coaext
Class EPPCoaExtValue
- java.lang.Object
-
- com.verisign.epp.codec.coaext.EPPCoaExtValue
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPCoaExtValue extends java.lang.Object implements EPPCodecComponent
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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_NAMEConstant for the COA value tag
-
Constructor Summary
Constructors Constructor Description EPPCoaExtValue()Create an EPPCoaExtValue instanceEPPCoaExtValue(java.lang.String aValue)Create a EPPCoaExtValue intance with the given value
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPCoaExtValue.voiddecode(org.w3c.dom.Element aElement)Decode the EPPCoaExtValue componentorg.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Sets all this instance's data in the given XML documentbooleanequals(java.lang.Object aObject)implements a deepEPPCoaExtValuecompare.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.java.lang.StringgetValue()Returns the value to a key/value pair.voidsetValue(java.lang.String aValue)Sets the Value
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
Constant for the COA value tag- See Also:
- Constant Field Values
-
-
Method Detail
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPCoaExtValue.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPCoaExtValue - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionSets 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
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode the EPPCoaExtValue component- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode- Throws:
EPPDecodeException- On decoding error
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPCoaExtValuecompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPCoaExtValueinstance to compare with- Returns:
- true if equal false otherwise
-
getValue
public java.lang.String getValue()
Returns the value to a key/value pair.- Returns:
- the value
-
setValue
public void setValue(java.lang.String aValue)
Sets the Value- Parameters:
aValue- - The value to a key/value pair
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-