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
Copyright: Copyright (c) 2013
Company: VeriSign
Constructor and Description |
---|
EPPRelatedDomainExtName()
Default constructor
|
EPPRelatedDomainExtName(java.lang.String aDomainName) |
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)
aDomainName
- public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRelatedDomainExtName
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRelatedDomainExtName
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
- - 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 EPPCodecComponent
aDocument
- - 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.Object
aObject
- 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.Object
String
if successful; ERROR
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.