Package com.verisign.epp.codec.rgpext
Class EPPRgpExtUpdate
java.lang.Object
com.verisign.epp.codec.rgpext.EPPRgpExtUpdate
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The EPPRgpExtUpdate is the EPPCodecComponent that knows how to encode and
decode RGP update elements from/to XML and object instance.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new EPPRgpExtUpdate instanceEPPRgpExtUpdate(EPPRgpExtRestore aRestore) Create a new EPPRgpExtUpdate instance with contained request or report. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRgpExtUpdate.voidPopulate the data of this instance with the data stored in the given Element of the DOM treeAppend all data from this RGP inf data to the given DOM Documentbooleanimplements a deepEPPRgpExtUpdatecompare.Returns the RGP namespaceGets the contained restore request or report.voidsetRestore(EPPRgpExtRestore aRestore) Sets the contained restore request or report.
-
Field Details
-
ELM_NAME
The update element name in XML- See Also:
-
-
Constructor Details
-
EPPRgpExtUpdate
public EPPRgpExtUpdate()Create a new EPPRgpExtUpdate instance -
EPPRgpExtUpdate
Create a new EPPRgpExtUpdate instance with contained request or report.- Parameters:
aRestore- the new contained restore request or report
-
-
Method Details
-
encode
Append all data from this RGP inf data to the given DOM Document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- Encoded DOM
Element - Throws:
EPPEncodeException- Thrown when errors occur during the encode attempt or if the instance is invalid.
-
getNamespace
Returns the RGP namespace- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- the RGP namespace
-
equals
implements a deepEPPRgpExtUpdatecompare. -
decode
Populate the data of this instance with the data stored in the given Element of the DOM tree- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the report fragment of XML- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
clone
CloneEPPRgpExtUpdate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRgpExtUpdate - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getRestore
Gets the contained restore request or report.- Returns:
- the contained restore request or report
-
setRestore
Sets the contained restore request or report.- Parameters:
aRestore- the new contained restore request or report
-