public class EPPDefRegDeleteCmd extends EPPDeleteCmd
getRoid
and setRoid
to get and
set the Roid.
EPPReponse
is the response associated with
EPPDefRegDeleteCmd
.EPPResponse
,
Serialized Formextensions, 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 and Description |
---|
EPPDefRegDeleteCmd()
EPPDefRegDeleteCmd default constructor. |
EPPDefRegDeleteCmd(java.lang.String aTransId,
java.lang.String aRoid)
EPPDefRegDeleteCmd constructor that takes the defReg roid
as an argument. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPDefRegDeleteCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPDefRegDeleteCmd attributes from the aElement
DOM Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPDefRegDeleteCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDefRegDeleteCmd with this
instance. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPDefRegDeleteCmd . |
java.lang.String |
getRoid()
Gets the defReg roid to delete.
|
void |
setRoID(java.lang.String aRoid)
Sets the defReg roid to delete.
|
doGenDecode, doGenEncode, getType
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString
public EPPDefRegDeleteCmd()
EPPDefRegDeleteCmd
default constructor. The roidis
initialized to null
. The roid must be set before
invoking encode
.public EPPDefRegDeleteCmd(java.lang.String aTransId, java.lang.String aRoid)
EPPDefRegDeleteCmd
constructor that takes the defReg roid
as an argument.aTransId
- Transaction Id associated with command.aRoid
- DefReg roid to delete.public java.lang.String getNamespace()
EPPDefRegDeleteCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPDefRegMapFactory.NS
public java.lang.String getRoid()
String
instance if defined;
null
otherwise.public void setRoID(java.lang.String aRoid)
aRoid
- DefReg Roidpublic boolean equals(java.lang.Object aObject)
EPPDefRegDeleteCmd
with this
instance.equals
in class EPPDeleteCmd
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPDefRegDeleteCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPDefRegDeleteCmd
java.lang.CloneNotSupportedException
- standard Object.clone exceptionprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPDefRegDeleteCmd
instance.doEncode
in class EPPDeleteCmd
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPDefRegDeleteCmd
instance.EPPEncodeException
- Unable to encode
EPPDefRegDeleteCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPDefRegDeleteCmd
attributes from the aElement
DOM Element tree.doDecode
in class EPPDeleteCmd
aElement
- Root DOM Element to decode
EPPDefRegDeleteCmd
from.EPPDecodeException
- Unable to decode aElement