public class EPPPersRegInfoData extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_NAME
XML root tag for
EPPPersRegInfoData. |
| Constructor and Description |
|---|
EPPPersRegInfoData()
Default constructor for
EPPPersRegInfoData. |
EPPPersRegInfoData(java.lang.String aConsentID)
Constructor for
EPPPersRegInfoData that takes the consent
identifier. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
clone an
EPPCodecComponent. |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPPersRegInfoData with this instance. |
java.lang.String |
getConsentID()
Gets the Personal Registration Consent Identifier.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
void |
setConsentID(java.lang.String aConsentID)
Sets the Personal Registration Consent Identifier.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
public static final java.lang.String ELM_NAME
EPPPersRegInfoData.public EPPPersRegInfoData()
EPPPersRegInfoData.public EPPPersRegInfoData(java.lang.String aConsentID)
EPPPersRegInfoData that takes the consent
identifier.aConsentID - Consent identifierpublic java.lang.String getConsentID()
null otherwise.public void setConsentID(java.lang.String aConsentID)
aConsentID - Consent Identifierpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - DOM Document, which acts is an Element factoryEPPEncodeException - Error encoding EPPPersRegInfoDatapublic void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
aElement argument represents the root DOM element and is used to
traverse the DOM nodes for instance attribute values.decode in interface EPPCodecComponentaElement - Element to decodeEPPDecodeException - Error decoding Elementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPCodecComponent.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPPersRegInfoDatajava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.toString in class java.lang.ObjectString if successful; ERROR
otherwise.public boolean equals(java.lang.Object aObject)
EPPPersRegInfoData with this instance.equals in class java.lang.ObjectaObject - Object to compare with.true if equal; false otherwise.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.