Package com.verisign.epp.codec.rgpext
Class EPPRgpExtRestore
java.lang.Object
com.verisign.epp.codec.rgpext.EPPRgpExtRestore
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The EPPRgpExtRestore is the EPPCodecComponent that knows how to encode and
decode RGP restore elements from/to XML and object instance.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor that will set theoptoREQUEST.EPPRgpExtRestore(EPPRgpExtReport aReport) Creates a restore report extension. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRgpExtRestore.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 deepEPPRgpExtRestorecompare.Returns the XML namespace associated with theEPPCodecComponent.getOp()Get the value of the current op attibut.Get the RGP report instance contained in this RGP restore instancevoidSet the value of the current op attribute.voidsetReport(EPPRgpExtReport report) Set the RGP report instance in this RGP restore instance
-
Field Details
-
REQUEST
Constant value for request operation- See Also:
-
REPORT
Constant value for report operation- See Also:
-
ELM_NAME
The restore XML element name- See Also:
-
-
Constructor Details
-
EPPRgpExtRestore
public EPPRgpExtRestore()Default constructor that will set theoptoREQUEST. -
EPPRgpExtRestore
Creates a restore report extension. Theopis set toREPORT.- Parameters:
aReport- Report information
-
-
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.
-
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.
-
equals
implements a deepEPPRgpExtRestorecompare. -
clone
CloneEPPRgpExtRestore.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRgpExtRestore - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getReport
Get the RGP report instance contained in this RGP restore instance- Returns:
- the RGP report instance contained in this RGP restore instance
-
setReport
Set the RGP report instance in this RGP restore instance- Parameters:
report- the new RGP report instance
-
getOp
Get the value of the current op attibut. Should be either "request" or "report"- Returns:
- the value of the current op attibute
-
setOp
Set the value of the current op attribute. Should be either "request" or "report". Use the REQUEST or REPORT static final constants contained in this class to set.- Parameters:
op- the value of the current op attribute
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-