Class EPPNamestoreExtNamestoreExt
java.lang.Object
com.verisign.epp.codec.namestoreext.EPPNamestoreExtNamestoreExt
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Namestore <namestoreExt> extension, which allows for a client to provide
a target sub-product identifier to specify the locus of operation for the
accompanying command.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPNamestoreExtNamestoreExt.EPPNamestoreExtNamestoreExt(String aSubProductID) Constructor forEPPNamestoreExtNamestoreExtthat takes the sub-product identifier. -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voiddecode a DOM element tree to initialize the instance attributes.encode instance into a DOM element tree.booleanCompare an instance ofEPPNamestoreExtNamestoreExtwith this instance.Returns the XML namespace associated with theEPPCodecComponent.Gets the Namestore Destination Registry Identifier.voidsetSubProductID(String aSubProductID) Sets the Namestore Destination Registry Identifier.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPNamestoreExtNamestoreExt.- See Also:
-
ELM_NAME
XML root tag forEPPNamestoreExtNamestoreExt.- See Also:
-
-
Constructor Details
-
EPPNamestoreExtNamestoreExt
public EPPNamestoreExtNamestoreExt()Default constructor forEPPNamestoreExtNamestoreExt. -
EPPNamestoreExtNamestoreExt
Constructor forEPPNamestoreExtNamestoreExtthat takes the sub-product identifier.- Parameters:
aSubProductID- Sub-product identifier
-
-
Method Details
-
getSubProductID
Gets the Namestore Destination Registry Identifier.- Returns:
- Registry identifier if defined;
nullotherwise.
-
setSubProductID
Sets the Namestore Destination Registry Identifier.- Parameters:
aSubProductID- Registry Identifier
-
encode
encode instance into a DOM element tree. A DOM Document is passed as an argument and functions as a factory for DOM objects. The root element associated with the instance is created and each instance attribute is appended as a child node.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPNamestoreExtNamestoreExt
-
decode
decode a DOM element tree to initialize the instance attributes. TheaElementargument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement-Elementto decode- Throws:
EPPDecodeException- Error decodingElement
-
clone
clone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPNamestoreExtNamestoreExt - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPNamestoreExtNamestoreExtwith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-