Package com.verisign.epp.codec.changeext
Class EPPChangeExt
java.lang.Object
com.verisign.epp.codec.changeext.EPPChangeExt
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Change <changeExt> 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 forEPPChangeExtChangeExt.EPPChangeExt(String arequestID) Constructor forEPPChangeExtChangeExtthat takes the Change Request 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 ofEPPChangeExtChangeExtwith this instance.Returns the XML namespace associated with theEPPCodecComponent.Gets the Change Destination Registry Identifier.voidsetRequestId(String aRequestId) Sets the Change Identifier.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_NAME
XML root tag forEPPChangeExtChangeExt.- See Also:
-
-
Constructor Details
-
EPPChangeExt
public EPPChangeExt()Default constructor forEPPChangeExtChangeExt. -
EPPChangeExt
Constructor forEPPChangeExtChangeExtthat takes the Change Request identifier.- Parameters:
arequestID- Change Request identifier
-
-
Method Details
-
getRequestId
Gets the Change Destination Registry Identifier.- Returns:
- Registry identifier if defined;
nullotherwise.
-
setRequestId
Sets the Change Identifier.- Parameters:
aRequestId- Change Request 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 attributeis 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 encodingEPPChangeExt
-
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
EPPChangeExtChangeExt - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPChangeExtChangeExtwith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-