Package com.verisign.epp.codec.rgpext
Class EPPRgpExtInfData
java.lang.Object
com.verisign.epp.codec.rgpext.EPPRgpExtInfData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The
EPPRgpExtInfData is the EPPCodecComponent that knows how to encode and
decode RGP infData elements from/to XML and object instance.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInstantiate a new instance of EPPRgpExtInfDataEPPRgpExtInfData(EPPRgpExtStatus aStatus) Creates a new instance of theEPPRgpExtInfDatawith a status element.EPPRgpExtInfData(Vector<EPPRgpExtStatus> aStatuses) Creates a new instance of theEPPRgpExtInfDatawith aVectorof status elements. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatus(EPPRgpExtStatus aStatus) Adds the status of typeEPPRgpExtStatusto theVectorof statuses.clone()CloneEPPRgpExtInfData.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 deepEPPRgpExtInfDatacompare.The namespace associated with this RGP inf data.Gets the first status if there is one;nullotherwise.Gets theVectorof statuses of typeEPPRgpExtStatus.voidsetStatuses(Vector<EPPRgpExtStatus> aStatuses) Sets theVectorof statuses of typeEPPRgpExtStatus.
-
Field Details
-
ELM_NAME
Element tag name for the infData- See Also:
-
-
Constructor Details
-
EPPRgpExtInfData
public EPPRgpExtInfData()Instantiate a new instance of EPPRgpExtInfData -
EPPRgpExtInfData
Creates a new instance of theEPPRgpExtInfDatawith a status element.- Parameters:
aStatus- Associated status element.
-
EPPRgpExtInfData
Creates a new instance of theEPPRgpExtInfDatawith aVectorof status elements.- Parameters:
aStatuses-VectorofEPPRgpExtStatusstatus elements. Only a non-nullvalue will be used.
-
-
Method Details
-
getNamespace
The namespace associated with this RGP inf data.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- The namespace associated with RGP component
-
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 deepEPPRgpExtInfDatacompare. -
clone
CloneEPPRgpExtInfData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRgpExtInfData - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getStatus
Gets the first status if there is one;nullotherwise.- Returns:
- First status of type
EPPRgpExtStatusif set;nullotherwise.
-
addStatus
Adds the status of typeEPPRgpExtStatusto theVectorof statuses.- Parameters:
aStatus- Status to add
-
getStatuses
Gets theVectorof statuses of typeEPPRgpExtStatus.- Returns:
- Non-
nullVectorofEPPRgpExtStatusinstances.
-
setStatuses
Sets theVectorof statuses of typeEPPRgpExtStatus.- Parameters:
aStatuses- Statuses to use. Ifnullthe parameter will be ignored.
-