public class EPPRgpExtRestore extends java.lang.Object implements EPPCodecComponent
Title: EPP 1.0 RGP
Description: RGP Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_NAME
The restore XML element name
|
static java.lang.String |
REPORT
Constant value for report operation
|
static java.lang.String |
REQUEST
Constant value for request operation
|
Constructor and Description |
---|
EPPRgpExtRestore()
Default constructor that will set the
op to REQUEST . |
EPPRgpExtRestore(EPPRgpExtReport aReport)
Creates a restore report extension.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRgpExtRestore . |
void |
decode(org.w3c.dom.Element aElement)
Populate the data of this instance with the data stored in the
given Element of the DOM tree
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Append all data from this RGP inf data to the given DOM Document
|
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRgpExtRestore compare. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getOp()
Get the value of the current op attibut.
|
EPPRgpExtReport |
getReport()
Get the RGP report instance contained in this RGP restore instance
|
void |
setOp(java.lang.String op)
Set the value of the current op attribute.
|
void |
setReport(EPPRgpExtReport report)
Set the RGP report instance in this RGP restore instance
|
public static final java.lang.String REQUEST
public static final java.lang.String REPORT
public static final java.lang.String ELM_NAME
public EPPRgpExtRestore()
op
to REQUEST
.public EPPRgpExtRestore(EPPRgpExtReport aReport)
op
is set to
REPORT
.aReport
- Report informationpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- The DOM Document to append data toElement
EPPEncodeException
- Thrown when errors occur during the
encode attempt or if the instance is invalid.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
- The root element of the report fragment of XMLEPPDecodeException
- Thrown if any errors occur during decoding.public boolean equals(java.lang.Object aObject)
EPPRgpExtRestore
compare.equals
in class java.lang.Object
aObject
- EPPRgpExtRestore
instance to compare withpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRgpExtRestore
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRgpExtRestore
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic EPPRgpExtReport getReport()
public void setReport(EPPRgpExtReport report)
report
- the new RGP report instancepublic java.lang.String getOp()
public void setOp(java.lang.String op)
op
- the value of the current op attributepublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.