public class EPPRegistryCreateCmd extends EPPCreateCmd
getZone
and
setZone
to get and set the element.EPPRegistryCreateResp
is the concrete EPPReponse
associated with EPPRegistryCreateCmd
.EPPRegistryCreateResp
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryCreateCmd . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryCreateCmd . |
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 |
---|
EPPRegistryCreateCmd()
Creates an empty
EPPRegistryCreateCmd object. |
EPPRegistryCreateCmd(java.lang.String aTransId,
EPPRegistryZone aZone)
Creates a new
EPPRegistryCreateCmd object that will create a registry
object based on the info in zone . |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryCreateCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryCreateCmd 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
EPPRegistryCreateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryCreateCmd with this
instance. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPRegistryCreateCmd
. |
EPPRegistryZone |
getZone()
Get zone to create
|
void |
setZone(EPPRegistryZone aZone)
Set zone to create
|
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, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
public static final java.lang.String ELM_LOCALNAME
EPPRegistryCreateCmd
.public static final java.lang.String ELM_NAME
EPPRegistryCreateCmd
.public EPPRegistryCreateCmd()
EPPRegistryCreateCmd
object. zone
is set to
null
. Use setZone
to set zone
attribute before
sending the create command.public EPPRegistryCreateCmd(java.lang.String aTransId, EPPRegistryZone aZone)
EPPRegistryCreateCmd
object that will create a registry
object based on the info in zone
.aTransId
- Transaction Id associated with command.aZone
- Instance of EPPRegistryZone
to createpublic java.lang.String getNamespace()
EPPRegistryCreateCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPRegistryMapFactory
.NSpublic boolean equals(java.lang.Object aObject)
EPPRegistryCreateCmd
with this
instance.equals
in class EPPCreateCmd
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
EPPRegistryCreateCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPRegistryCreateCmd
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
EPPRegistryCreateCmd
instance.doEncode
in class EPPCreateCmd
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryCreateCmd
instance.EPPEncodeException
- Unable to encode EPPRegistryCreateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryCreateCmd
attributes from the aElement DOM
Element tree.doDecode
in class EPPCreateCmd
aElement
- Root DOM Element to decode EPPRegistryCreateCmd
from.EPPDecodeException
- Unable to decode aElementpublic EPPRegistryZone getZone()
EPPRegistryZone
to createpublic void setZone(EPPRegistryZone aZone)
aZone
- Instance of EPPRegistryZone
to create