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