|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCreateCmd
com.verisign.epp.codec.registry.EPPRegistryCreateCmd
public class EPPRegistryCreateCmd
Represents an EPP Registry <create> command, which provides a transform
operation that allows a client to create a registry object. In addition to
the standard EPP command elements, the <create> command MUST contain a
<registry:create> element that identifies the registry namespace and
the location of the registry schema. The <registry:create> element MUST
contain the following child elements:
getZone and
setZone to get and set the element.EPPRegistryCreateResp is the concrete EPPReponse
associated with EPPRegistryCreateCmd.
EPPRegistryCreateResp,
Serialized Form| Field Summary |
|---|
| Fields inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
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 Summary | |
|---|---|
EPPRegistryCreateCmd()
Creates an empty EPPRegistryCreateCmd object. |
|
EPPRegistryCreateCmd(java.lang.String aTransId,
EPPRegistryZoneInfo zone)
Creates a new EPPRegistryCreateCmd object that will create a registry object based on the info in zone. |
|
| Method Summary | |
|---|---|
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. |
EPPRegistryZoneInfo |
getZone()
Get zone to create |
void |
setZone(EPPRegistryZoneInfo zone)
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. |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCreateCmd |
|---|
doGenDecode, doGenEncode, getType |
| Methods inherited from class com.verisign.epp.codec.gen.EPPCommand |
|---|
addExtension, decode, encode, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public EPPRegistryCreateCmd()
zone is set to
null. Use setZone to set zone attribute before
sending the create command.
public EPPRegistryCreateCmd(java.lang.String aTransId,
EPPRegistryZoneInfo zone)
zone.
aTransId - Transaction Id associated with command.zone - Instance of EPPRegistryZoneInfo to create| Method Detail |
|---|
public java.lang.String getNamespace()
EPPRegistryCreateCmd.
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPRegistryMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPRegistryCreateCmd with this
instance.
equals in class EPPCreateCmdaObject - Object to compare with.
true if this object is the same as the aObject argument;
false otherwise
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryCreateCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPRegistryCreateCmd
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 EPPCommandString if successful;
ERROR otherwise.
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryCreateCmd instance.
doEncode in class EPPCreateCmdaDocument - 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 EPPCreateCmdaElement - Root DOM Element to decode EPPRegistryCreateCmd from.
{@link - EPPDecodeException} Unable to decode aElement
EPPDecodeException - Unable to decode aElement.public EPPRegistryZoneInfo getZone()
EPPRegistryZoneInfo to createpublic void setZone(EPPRegistryZoneInfo zone)
zone - Instance of EPPRegistryZoneInfo to create
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||