Package com.verisign.epp.codec.rgpext
Class EPPRgpExtUpdate
- java.lang.Object
-
- com.verisign.epp.codec.rgpext.EPPRgpExtUpdate
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRgpExtUpdate extends java.lang.Object implements EPPCodecComponent
The EPPRgpExtUpdate is the EPPCodecComponent that knows how to encode and decode RGP update elements from/to XML and object instance.Title: EPP 1.0 RGP
Description: RGP Extension to the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_NAMEThe update element name in XML
-
Constructor Summary
Constructors Constructor Description EPPRgpExtUpdate()Create a new EPPRgpExtUpdate instanceEPPRgpExtUpdate(EPPRgpExtRestore aRestore)Create a new EPPRgpExtUpdate instance with contained request or report.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPRgpExtUpdate.voiddecode(org.w3c.dom.Element aElement)Populate the data of this instance with the data stored in the given Element of the DOM treeorg.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Append all data from this RGP inf data to the given DOM Documentbooleanequals(java.lang.Object aObject)implements a deepEPPRgpExtUpdatecompare.java.lang.StringgetNamespace()Returns the RGP namespaceEPPRgpExtRestoregetRestore()Gets the contained restore request or report.voidsetRestore(EPPRgpExtRestore aRestore)Sets the contained restore request or report.
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
The update element name in XML- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRgpExtUpdate
public EPPRgpExtUpdate()
Create a new EPPRgpExtUpdate instance
-
EPPRgpExtUpdate
public EPPRgpExtUpdate(EPPRgpExtRestore aRestore)
Create a new EPPRgpExtUpdate instance with contained request or report.- Parameters:
aRestore- the new contained restore request or report
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionAppend 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
public java.lang.String getNamespace()
Returns the RGP namespace- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- the RGP namespace
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPRgpExtUpdatecompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPRgpExtUpdateinstance to compare with- Returns:
- true if equal false otherwise
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionPopulate 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
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPRgpExtUpdate.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPRgpExtUpdate - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
getRestore
public EPPRgpExtRestore getRestore()
Gets the contained restore request or report.- Returns:
- the contained restore request or report
-
setRestore
public void setRestore(EPPRgpExtRestore aRestore)
Sets the contained restore request or report.- Parameters:
aRestore- the new contained restore request or report
-
-