Class EPPRelatedDomainExtName
java.lang.Object
com.verisign.epp.codec.relateddomainext.EPPRelatedDomainExtName
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPCodecComponent that encodes and decodes a <relDom:name> tag
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.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorEPPRelatedDomainExtName(String aDomainName) Creates aEPPRelatedDomainExtNamewith the related domain name. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRelatedDomainExtName.voidDecode the EPPRelatedDomainExtName attributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of the EPPRelatedDomainExtName instance.booleanimplements a deepEPPRelatedDomainExtNamecompare.Returns the domainNameReturns the XML namespace associated with theEPPCodecComponent.voidsetDomainName(String domainName) Sets domainName value to domainNametoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Constructor Details
-
EPPRelatedDomainExtName
public EPPRelatedDomainExtName()Default constructor -
EPPRelatedDomainExtName
Creates aEPPRelatedDomainExtNamewith the related domain name.- Parameters:
aDomainName- Domain name
-
-
Method Details
-
clone
CloneEPPRelatedDomainExtName.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRelatedDomainExtName - Throws:
CloneNotSupportedException- standard Object.clone exception
-
decode
Decode the EPPRelatedDomainExtName attributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- - Root DOM Element to decode EPPRelatedDomainExtName from.- Throws:
EPPDecodeException- Unable to decode aElement
-
encode
Encode a DOM Element tree from the attributes of the EPPRelatedDomainExtName instance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- - DOM Document that is being built. Used as an Element factory.- Returns:
- Element - Root DOM Element representing the EPPRelatedDomainExtName instance.
- Throws:
EPPEncodeException- - Unable to encode EPPRelatedDomainExtName instance.
-
equals
implements a deepEPPRelatedDomainExtNamecompare. -
getDomainName
Returns the domainName- Returns:
- the domainName
-
setDomainName
Sets domainName value to domainName- Parameters:
domainName- the domainName to set
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-