public class EPPRegistryUpdateCmd extends EPPUpdateCmd
getZone
and
setZone
to get and set the element.EPPRegistryUpdateResp
is the concrete EPPReponse
associated
with EPPRegistryUpdateCmd
.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryUpdateCmd . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryUpdateCmd . |
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 |
---|
EPPRegistryUpdateCmd()
Creates an empty EPPRegistryUpdateCmd object.
|
EPPRegistryUpdateCmd(java.lang.String aTransId,
EPPRegistryZone aZone)
Creates a new EPPRegistryUpdateCmd object that will update a registry
object based on the info in
zone . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryUpdateCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryUpdateCmd 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
EPPRegistryUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryUpdateCmd with this instance. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPRegistryUpdateCmd.
|
EPPRegistryZone |
getZone()
Gets the zone to update.
|
void |
setZone(EPPRegistryZone aZone)
Sets the zone to update.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
doGenDecode, doGenEncode, getType
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public static final java.lang.String ELM_LOCALNAME
EPPRegistryUpdateCmd
.public static final java.lang.String ELM_NAME
EPPRegistryUpdateCmd
.public EPPRegistryUpdateCmd()
zone
is set to
null
. Use setZone
to set zone
attribute before
sending the update command.public EPPRegistryUpdateCmd(java.lang.String aTransId, EPPRegistryZone aZone)
zone
.aTransId
- Transaction Id associated with command.aZone
- Instance of EPPRegistryZone
to updatepublic java.lang.String getNamespace()
getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPRegistryMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPRegistryUpdateCmd
with this instance.equals
in class EPPUpdateCmd
aObject
- Object to compare with.true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryUpdateCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPRegistryUpdateCmd
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class EPPCommand
String
if successful; ERROR
otherwise.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryUpdateCmd
instance.doEncode
in class EPPUpdateCmd
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryUpdateCmd
instance.EPPEncodeException
- Unable to encode EPPRegistryUpdateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryUpdateCmd
attributes from the aElement DOM
Element tree.doDecode
in class EPPUpdateCmd
aElement
- Root DOM Element to decode EPPRegistryUpdateCmd
from.EPPDecodeException
- Unable to decode aElementpublic EPPRegistryZone getZone()
EPPRegistryZone
to updatepublic void setZone(EPPRegistryZone aZone)
aZone
- Instance of EPPRegistryZone
to updateCopyright © VeriSign Inc. All Rights Reserved.