|
||||||||||
| 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.EPPTransferCmd
public abstract class EPPTransferCmd
The EPP <transfer> command provides a query operation that allows a
client to determine real-time status of pending and completed transfer
requests. The elements needed to identify an object that is the subject of
a transfer request are object-specific, so the child elements of the
<transfer> query command are specified using the EPP extension
framework. In addition to the standard EPP command elements, the
<transfer> command SHALL contain an op attribute with
value query, and the following child elements: An
object-specific <obj:transfer> element that identifies the object whose
transfer status is requested.
EPPTransferCmd is an abtract EPP command class that represents
a transfer operation. A command mapping transfer command extends
EPPTransferCmd. For example,
EPPDomainTransferCmd is a EPPTransferCmd that
implements the Domain Transfer Command Mapping. The different types of
transfer operations can be one of the EPPCommand.OP_
constants.
| Field Summary | |
|---|---|
protected java.lang.String |
op
Operation "op" associated with the EPPTransferCmd. |
| 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 | |
|---|---|
EPPTransferCmd()
Default constructor. |
|
EPPTransferCmd(java.lang.String aTransId,
java.lang.String aOp)
EPPTransferCmd that takes all required attributes as
arguments. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPTransferCmd. |
protected abstract void |
doDecode(org.w3c.dom.Element aElement)
Must be defined by EPPTransferCmd 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 EPPTransferCmd extensions (Command
Mappings) to encode the attributes to a DOM Element tree. |
protected void |
doGenDecode(org.w3c.dom.Element aElement)
Decodes the EPPTransferCmd 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 EPPTransferCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compares an instance of EPPTransferCmd with this instance. |
java.lang.String |
getOp()
Gets the EPP command operation attribute associated with EPPTransferCmd. |
java.lang.String |
getType()
Gets the EPP command type associated with EPPTransferCmd. |
void |
setOp(java.lang.String aOp)
Sets the EPP command operation attribute associated with EPPTransferCmd. |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getNamespace, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String op
EPPTransferCmd. This
should be equal to one of the EPPCommand.OP_ constants.
| Constructor Detail |
|---|
public EPPTransferCmd()
public EPPTransferCmd(java.lang.String aTransId,
java.lang.String aOp)
EPPTransferCmd that takes all required attributes as
arguments.
aTransId - Transaction Id associated with command.aOp - One of the EPPCommand.OP_ constants associated
with the transfer command.| Method Detail |
|---|
public java.lang.String getType()
getType in class EPPCommandEPPCommand.TYPE_TRANSFERpublic java.lang.String getOp()
EPPTransferCmd.
getOp in class EPPCommandEPPCommand.OP_ constants associated with
the transfer command.public void setOp(java.lang.String aOp)
EPPTransferCmd.
aOp - One of the EPPCommand.OP_ constants associated
with the transfer command.public boolean equals(java.lang.Object aObject)
equals in class EPPCommandaObject - Object to compare with.
protected org.w3c.dom.Element doGenEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPTransferCmd 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.
EPPTransferCmd
instance.
EPPEncodeException - Unable to encode
EPPTransferCmd instance.
protected void doGenDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPTransferCmd 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 EPPTransferCmd
from.
EPPDecodeException - Unable to decode aElement
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPTransferCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPTransferCmd
java.lang.CloneNotSupportedException - standard Object.clone exception
protected abstract org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPTransferCmd 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 EPPTransferCmd extension
instance.
protected abstract void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPTransferCmd 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
EPPTransferCmd extension instance.
EPPDecodeException - Unable to decode aElement.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||