|
||||||||||
| 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.host.EPPHostCreateCmd
public class EPPHostCreateCmd
Represents an EPP Host <create> command, which provides a transform
operation that allows a client to create a host object. The
<host:create> element MUST contain the following child
elements:
getName and
setName to get and set the element.
EPPReponse is the response associated with
EPPHostCreateCmd.
EPPResponse,
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 | |
|---|---|
EPPHostCreateCmd()
Allocates a new EPPHostCreateCmd with default attribute
values. |
|
EPPHostCreateCmd(java.lang.String aTransId,
java.lang.String aName)
Allocates a new EPPHostCreateCmd with a host name. |
|
EPPHostCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.util.Vector someAddresses)
Allocates a new EPPHostCreateCmd with all attributes
specified by the arguments. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Clone EPPHostCreateCmd. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPHostCreateCmd 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 EPPHostCreateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPHostCreateCmd with this instance. |
java.util.Vector |
getAddresses()
Gets the host addresses. |
java.lang.String |
getName()
Get the host name to create. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPHostCreateCmd. |
void |
setAddresses(java.util.Vector aAddresses)
Sets the host addresses. |
void |
setName(java.lang.String aName)
Set the host name 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 EPPHostCreateCmd()
EPPHostCreateCmd with default attribute
values. the defaults include the following: null
null
null.
encode.
public EPPHostCreateCmd(java.lang.String aTransId,
java.lang.String aName)
EPPHostCreateCmd with a host name. The
other attributes are initialized as follows: null
aTransId - Transaction Id associated with command.aName - Host name
public EPPHostCreateCmd(java.lang.String aTransId,
java.lang.String aName,
java.util.Vector someAddresses)
EPPHostCreateCmd with all attributes
specified by the arguments.
aTransId - Transaction Id associated with command.aName - Host namesomeAddresses - Vector of EPPHostAddress
instances.| Method Detail |
|---|
public java.lang.String getNamespace()
getNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPHostMapFactory.NS
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
doEncode in class EPPCreateCmdaDocument - - DOM Document that is being built. Used as an Element
factory.
EPPEncodeException - Unable to encode EPPHostCreateCmd
instance.
protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
doDecode in class EPPCreateCmdaElement - - Root DOM Element to decode EPPHostCreateCmd from.
EPPDecodeException - Unable to decode aElementpublic java.lang.String getName()
public void setName(java.lang.String aName)
aName - Host Namepublic java.util.Vector getAddresses()
EPPHostAddress instances if defined;
null otherwise.public void setAddresses(java.util.Vector aAddresses)
aAddresses - Vector of EPPHostAddress instances.public boolean equals(java.lang.Object aObject)
EPPHostCreateCmd with this instance.
equals in class EPPCreateCmdaObject - Object to compare with.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPHostCreateCmd.
clone in interface EPPCodecComponentclone in class EPPCommandEPPHostCreateCmd
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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||