public class EPPHostCreateCmd extends EPPCreateCmd
getName and
setName to get and set the element.
EPPReponse is the response associated with
EPPHostCreateCmd. EPPResponse,
Serialized Formextensions, 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 |
|---|
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. |
| Modifier and Type | Method and Description |
|---|---|
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. |
doGenDecode, doGenEncode, getTypeaddExtension, decode, encode, findDuplicateExtNamespaces, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransIdpublic 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 namepublic 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.public java.lang.String getNamespace()
getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPCommandEPPHostMapFactory.NSprotected 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 EPPCommandEPPHostCreateCmdjava.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.