public class EPPRegistryDeleteCmd extends EPPDeleteCmd
getName
and
setName
to get and set the element.EPPReponse
is the response associated with
EPPRegistryDeleteCmd
. 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 |
---|
EPPRegistryDeleteCmd()
EPPRegistryDeleteCmd default constructor. |
EPPRegistryDeleteCmd(java.lang.String aTransId,
java.lang.String aName)
EPPRegistryDeleteCmd constructor that takes the registry
name as an argument. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryDeleteCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryDeleteCmd 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
EPPRegistryDeleteCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryDeleteCmd with this
instance. |
java.lang.String |
getName()
Gets the registry name to delete.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPRegistryDeleteCmd . |
void |
setName(java.lang.String aName)
Sets the registry name to delete.
|
doGenDecode, doGenEncode, getType
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString
public EPPRegistryDeleteCmd()
EPPRegistryDeleteCmd
default constructor. The name is
initialized name
to null
. The name must be set
before invoking encode
.public EPPRegistryDeleteCmd(java.lang.String aTransId, java.lang.String aName)
EPPRegistryDeleteCmd
constructor that takes the registry
name as an argument.aTransId
- transaction Id associated with command.aName
- fully qualified name of zone object to delete.public java.lang.String getNamespace()
EPPRegistryDeleteCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPRegistryMapFactory.NS
public java.lang.String getName()
String
instance if defined;
null
otherwise.public void setName(java.lang.String aName)
aName
- Registry Namepublic boolean equals(java.lang.Object aObject)
EPPRegistryDeleteCmd
with this
instance.equals
in class EPPDeleteCmd
aObject
- Object to compare withtrue
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryDeleteCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPRegistryDeleteCmd
java.lang.CloneNotSupportedException
- standard Object.clone exceptionprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryDeleteCmd
instance.doEncode
in class EPPDeleteCmd
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryDeleteCmd
instance.EPPEncodeException
- Unable to encode EPPRegistryDeleteCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryDeleteCmd
attributes from the aElement
DOM Element tree.doDecode
in class EPPDeleteCmd
aElement
- Root DOM Element to decode
EPPRegistryDeleteCmd
from.EPPDecodeException
- Unable to decode aElement