public class EPPRegistryDeleteCmd extends EPPDeleteCmd
getName
and
setName
to get and set the element.EPPReponse
is the response associated with
EPPRegistryDeleteCmd
. EPPResponse
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryDeleteCmd . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryDeleteCmd . |
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 and Description |
---|
EPPRegistryDeleteCmd()
EPPRegistryDeleteCmd default constructor. |
EPPRegistryDeleteCmd(java.lang.String aTransId,
EPPRegistryZoneName aName)
EPPRegistryDeleteCmd constructor that takes the registry name as
an argument. |
EPPRegistryDeleteCmd(java.lang.String aTransId,
java.lang.String aName)
EPPRegistryDeleteCmd constructor that takes the registry aLabel
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. |
EPPRegistryZoneName |
getName()
Gets the zone name.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPRegistryDeleteCmd . |
void |
setName(EPPRegistryZoneName aName)
Sets the zone name
|
void |
setName(java.lang.String aName)
Sets the aLabel zone name
|
doGenDecode, doGenEncode, getType
addExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId, toString
public static final java.lang.String ELM_LOCALNAME
EPPRegistryDeleteCmd
.public static final java.lang.String ELM_NAME
EPPRegistryDeleteCmd
.public EPPRegistryDeleteCmd()
EPPRegistryDeleteCmd
default constructor. The name is initialized
name
to null
. The name
must be set before invoking
#encode(Document)
.public EPPRegistryDeleteCmd(java.lang.String aTransId, java.lang.String aName)
EPPRegistryDeleteCmd
constructor that takes the registry aLabel
name as an argument.aTransId
- transaction Id associated with command.aName
- fully qualified aLabel name of zone object to delete.public EPPRegistryDeleteCmd(java.lang.String aTransId, EPPRegistryZoneName 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 EPPRegistryZoneName getName()
null
otherwise.public void setName(EPPRegistryZoneName aName)
aName
- Zone namepublic void setName(java.lang.String aName)
aName
- aLabel zone 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