Package com.verisign.epp.codec.rgpext
Class EPPRgpExtStatus
java.lang.Object
com.verisign.epp.codec.rgpext.EPPRgpExtStatus
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
The EPPRgpExtStatus is the EPPCodecComponent that knows how to encode and
decode RGP status elements from/to XML and object instance.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe constant value for addPeriodstatic final StringThe constant value for autoRenewPeriodstatic final StringDefault Language -- English "en"static final StringThe constant value for pendingDeletestatic final StringThe constant value for pendingRestorestatic final StringThe constant value for redemptionPeriodstatic final StringThe constant value for renewPeriodstatic final StringThe constant value for transferPeriod -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of EPPRgpExtStatusEPPRgpExtStatus(String aStatus) Create a new instance of EPPRgpExtStatus with the given status -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRgpExtStatus.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 deepEPPRgpExtStatuscompare.getLang()Returns the XML namespace associated with theEPPCodecComponent.voidvoidsetMessage(String message) void
-
Field Details
-
ADD_PERIOD
The constant value for addPeriod- See Also:
-
AUTO_RENEW_PERIOD
The constant value for autoRenewPeriod- See Also:
-
RENEW_PERIOD
The constant value for renewPeriod- See Also:
-
TRANSFER_PERIOD
The constant value for transferPeriod- See Also:
-
PENDING_DELETE
The constant value for pendingDelete- See Also:
-
PENDING_RESTORE
The constant value for pendingRestore- See Also:
-
REDEMPTION_PERIOD
The constant value for redemptionPeriod- See Also:
-
ELM_DEFAULT_LANG
Default Language -- English "en"- See Also:
-
-
Constructor Details
-
EPPRgpExtStatus
public EPPRgpExtStatus()Create a new instance of EPPRgpExtStatus -
EPPRgpExtStatus
Create a new instance of EPPRgpExtStatus with the given status- Parameters:
aStatus- the status value to use for this instance. Should use one of the static constants defined for this class as a value.
-
-
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 deepEPPRgpExtStatuscompare. -
clone
CloneEPPRgpExtStatus.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRgpExtStatus - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getMessage
-
setMessage
-
getStatus
-
setStatus
-
getLang
-
setLang
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-