Package com.verisign.epp.codec.rgpext
Class EPPRgpExtUpData
- java.lang.Object
-
- com.verisign.epp.codec.rgpext.EPPRgpExtUpData
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRgpExtUpData extends java.lang.Object implements EPPCodecComponent
The EPPRgpExtUpData is the EPPCodecComponent that knows how to encode and decode RGP upData 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 XML element upData
-
Constructor Summary
Constructors Constructor Description EPPRgpExtUpData()Create a new instance of the EPPRgpExtUpDataEPPRgpExtUpData(EPPRgpExtStatus aStatus)Creates a new instance of theEPPRgpExtUpDatawith the status element.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPRgpExtUpData.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 deepEPPRgpExtStatuscompare.java.lang.StringgetNamespace()Returns the RGP namespaceEPPRgpExtStatusgetStatus()returns the EPPRgpExtStatus instance contained in this EPPRgpExtUpData instancevoidsetStatus(EPPRgpExtStatus status)Sets the EPPRgpExtStatus instance contained in this EPPRgpExtUpData istance
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
The XML element upData- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRgpExtUpData
public EPPRgpExtUpData()
Create a new instance of the EPPRgpExtUpData
-
EPPRgpExtUpData
public EPPRgpExtUpData(EPPRgpExtStatus aStatus)
Creates a new instance of theEPPRgpExtUpDatawith the status element.- Parameters:
aStatus- Associated status element.
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Returns the RGP namespace- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- the RGP namespace
-
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.
-
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.
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPRgpExtStatuscompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPRgpExtUpDatainstance to compare with- Returns:
- true if equal false otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPRgpExtUpData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPRgpExtUpData - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
getStatus
public EPPRgpExtStatus getStatus()
returns the EPPRgpExtStatus instance contained in this EPPRgpExtUpData instance- Returns:
- the EPPRgpExtStatus instance contained in this EPPRgpExtUpData instance
-
setStatus
public void setStatus(EPPRgpExtStatus status)
Sets the EPPRgpExtStatus instance contained in this EPPRgpExtUpData istance- Parameters:
status- the new EPPRgpExtStatus instance contained in this EPPRgpExtUpData
-
-