public class EPPRelatedDomainExtName extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 Related Domain - name tag
Description: The EPPRelatedDomainExtName object represents the domain name. As XML, it is represented by a <relDom:name> element.
| Constructor and Description |
|---|
EPPRelatedDomainExtName()
Default constructor
|
EPPRelatedDomainExtName(java.lang.String aDomainName)
Creates a
EPPRelatedDomainExtName with the related domain name. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPRelatedDomainExtName. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRelatedDomainExtName attributes from the aElement DOM Element
tree.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPRelatedDomainExtName instance.
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRelatedDomainExtName compare. |
java.lang.String |
getDomainName()
Returns the domainName
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
void |
setDomainName(java.lang.String domainName)
Sets domainName value to domainName
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
public EPPRelatedDomainExtName()
public EPPRelatedDomainExtName(java.lang.String aDomainName)
EPPRelatedDomainExtName with the related domain name.aDomainName - Domain namepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRelatedDomainExtName.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRelatedDomainExtNamejava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
decode in interface EPPCodecComponentaElement - - Root DOM Element to decode EPPRelatedDomainExtName from.EPPDecodeException - Unable to decode aElementpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - - DOM Document that is being built. Used as an Element factory.EPPEncodeException - - Unable to encode EPPRelatedDomainExtName instance.public boolean equals(java.lang.Object aObject)
EPPRelatedDomainExtName compare.equals in class java.lang.ObjectaObject - EPPRelatedDomainExtName instance to compare withpublic java.lang.String getDomainName()
public void setDomainName(java.lang.String domainName)
domainName - the domainName to setpublic 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 java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.