|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPRenewCmd
public abstract class EPPRenewCmd
The EPP <renew> command is used to extend the validity period of an
existing object. The elements needed to identify and extend the validity
period of an object are object-specific, so the child elements of the
<renew> command are specified using the EPP extension framework. In
addition to the standard EPP command elements, the <renew> command
SHALL contain the following child elements: An object-specific
<obj:renew> element that identifies the object to be renewed and the
elements that are required to extend the validity period of the object.
EPPRenewCmd is an abtract EPP command class that represents a
renew operation. A command mapping renew command extends
EPPRenewCmd. For example, EPPDomainRenewCmd
is a EPPRenewCmd that implements the Domain Renew Command
Mapping.
| Field Summary |
|---|
| Fields inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE |
| Constructor Summary | |
|---|---|
EPPRenewCmd()
Default constructor for EPPRenewCmd. |
|
EPPRenewCmd(java.lang.String aTransId)
EPPRenewCmd that takes all required attributes as
arguments. |
|
| Method Summary | |
|---|---|
protected abstract void |
doDecode(org.w3c.dom.Element aElement)
Must be defined by EPPRenewCmd extensions (Command
Mappings) to decode the attributes to a DOM Element tree. |
protected abstract org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Must be defined by EPPRenewCmd extensions (Command
Mappings) to encode the attributes to a DOM Element tree. |
protected void |
doGenDecode(org.w3c.dom.Element aElement)
Decodes the EPPRenewCmd attributes from the
aElement DOM Element tree. |
protected org.w3c.dom.Element |
doGenEncode(org.w3c.dom.Document aDocument)
Encodes a DOM Element tree from the attributes of the EPPRenewCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compares an instance of EPPRenewCmd with this instance. |
java.lang.String |
getType()
Gets the EPP command type associated with EPPRenewCmd. |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
addExtension, clone, decode, encode, getExtension, getExtension, getExtensions, getNamespace, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPRenewCmd()
EPPRenewCmd.
public EPPRenewCmd(java.lang.String aTransId)
EPPRenewCmd that takes all required attributes as
arguments. This will call the super
EPPCommand(String) method to set the transaction id for
the command.
aTransId - Transaction Id associated with command.| Method Detail |
|---|
public java.lang.String getType()
EPPRenewCmd.
getType in class EPPCommandpublic boolean equals(java.lang.Object aObject)
EPPRenewCmd with this instance.
equals in class EPPCommandaObject - Object to compare with.
protected org.w3c.dom.Element doGenEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRenewCmd instance. This method is a member of the
Template Design Pattern. EPPCommand.encode is a
Template Method and this method is a Primitive
Operation within the Template Method Design Pattern.
doGenEncode in class EPPCommandaDocument - - DOM Document that is being built. Used as an Element
factory.
EPPRenewCmd
instance.
EPPEncodeException - Unable to encode EPPRenewCmd
instance.
protected void doGenDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRenewCmd attributes from the
aElement DOM Element tree. This method is a member of
the Template Design Pattern. EPPCommand.decode is a
Template Method and this method is a Primitive
Operation within the Template Method Design Pattern.
doGenDecode in class EPPCommandaElement - - Root DOM Element to decode EPPRenewCmd
from.
EPPDecodeException - Unable to decode aElement
protected abstract org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRenewCmd extensions (Command
Mappings) to encode the attributes to a DOM Element tree.
doGenEncode is a Template Method and this
method is a Primitive Operation within the Template Method
Design Pattern.
aDocument - - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException - Unable to encode EPPRenewCmd extension
instance.
protected abstract void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRenewCmd extensions (Command
Mappings) to decode the attributes to a DOM Element tree.
doGenDecode is a Template Method and this
method is a Primitive Operation within the Template Method
Design Pattern.
aElement - Root DOM Element representing the
EPPRenewCmd extension instance.
EPPDecodeException - Unable to decode aElement.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||