public class EPPCoaExtAttr extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 Client Object Attribute - Attr
Description: Each EPPCoaExtAttr object represents a single Client Object Attribute. As
such it contains a single key-value pair, represented by one EPPCoaExtKey and
one EPPCoaExtValue element.
As XML, is is represented by a
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 |
|---|
EPPCoaExtAttr()
Default constructor
|
EPPCoaExtAttr(java.lang.String aKey,
java.lang.String aValue)
Convenience constructor specifying the key and value as arguments.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
A deep clone of the EPPCoaExtAttr.
|
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPCoaExtAttr element by decoding its
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode an EPPCoaExtAttr by encoding its EPPCoaExtKey and EPPCoaExtValue
attributes.
|
boolean |
equals(java.lang.Object aComp)
A deep comparison of this to another EPPCoaExtAttr.
|
EPPCoaExtKey |
getKey()
Get method for the EPPCoaExtKey attribute.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
EPPCoaExtValue |
getValue()
Get method for the EPPCoaExtValue attribute.
|
void |
setKey(EPPCoaExtKey aKey)
Set method for the EPPCoaExtKey attribute.
|
void |
setValue(EPPCoaExtValue aValue)
Set method for the EPPCoaExtValue attribute.
|
public static final java.lang.String ELM_NAME
public EPPCoaExtAttr()
public EPPCoaExtAttr(java.lang.String aKey,
java.lang.String aValue)
aKey - aValue - public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPCodecComponentjava.lang.CloneNotSupportedException - standard Object.clone exceptionObject.clone()public boolean equals(java.lang.Object aComp)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - root DOM element associated with instanceEPPDecodeException - Error decoding the DOM element tree.EPPCodecComponent.decode(org.w3c.dom.Element)public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM document used as a factory of DOM objects.EPPEncodeException - Error encoding the DOM element tree.EPPCodecComponent.encode(org.w3c.dom.Document)public EPPCoaExtKey getKey()
public void setKey(EPPCoaExtKey aKey)
aKey - public EPPCoaExtValue getValue()
public void setValue(EPPCoaExtValue aValue)
aValue - public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.