public class EPPNamestoreExtNamestoreExt extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPNamestoreExtNamestoreExt . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPNamestoreExtNamestoreExt . |
Constructor and Description |
---|
EPPNamestoreExtNamestoreExt()
Default constructor for
EPPNamestoreExtNamestoreExt . |
EPPNamestoreExtNamestoreExt(java.lang.String aSubProductID)
Constructor for
EPPNamestoreExtNamestoreExt that takes the
sub-product 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
EPPNamestoreExtNamestoreExt with this
instance. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getSubProductID()
Gets the Namestore Destination Registry Identifier.
|
void |
setSubProductID(java.lang.String aSubProductID)
Sets the Namestore Destination Registry 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_LOCALNAME
EPPNamestoreExtNamestoreExt
.public static final java.lang.String ELM_NAME
EPPNamestoreExtNamestoreExt
.public EPPNamestoreExtNamestoreExt()
EPPNamestoreExtNamestoreExt
.public EPPNamestoreExtNamestoreExt(java.lang.String aSubProductID)
EPPNamestoreExtNamestoreExt
that takes the
sub-product identifier.aSubProductID
- Sub-product identifierpublic java.lang.String getSubProductID()
null
otherwise.public void setSubProductID(java.lang.String aSubProductID)
aSubProductID
- Registry Identifierpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factoryEPPEncodeException
- Error encoding EPPNamestoreExtNamestoreExt
public 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 EPPCodecComponent
aElement
- Element
to decodeEPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPNamestoreExtNamestoreExt
java.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.Object
String
if successful;
ERROR
otherwise.public boolean equals(java.lang.Object aObject)
EPPNamestoreExtNamestoreExt
with this
instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if equal; false
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.