public class EPPNameVerificationUpdateCmd extends EPPUpdateCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPNameVerificationUpdateCmd . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPNameVerificationUpdateCmd . |
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 |
---|
EPPNameVerificationUpdateCmd()
EPPNameVerificationUpdateCmd default constructor. |
EPPNameVerificationUpdateCmd(java.lang.String aTransId)
EPPNameVerificationUpdateCmd constructor that takes just the
client transaction id. |
EPPNameVerificationUpdateCmd(java.lang.String aTransId,
java.lang.String aCode,
EPPAuthInfo aAuthInfo)
EPPNameVerificationUpdateCmd constructor that takes the
authorization information. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPNameVerificationUpdateCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPNameVerificationUpdateCmd 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
EPPNameVerificationUpdateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameVerificationUpdateCmd with
this instance. |
EPPAuthInfo |
getAuthInfo()
Gets the authorization information for the Name Verification (NV) object.
|
java.lang.String |
getCode()
Gets the verification code value.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPNameVerificationUpdateCmd . |
void |
setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object.
|
void |
setCode(java.lang.String aCode)
Sets the verification code value.
|
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
EPPNameVerificationUpdateCmd
.public static final java.lang.String ELM_NAME
EPPNameVerificationUpdateCmd
.public EPPNameVerificationUpdateCmd()
EPPNameVerificationUpdateCmd
default constructor.public EPPNameVerificationUpdateCmd(java.lang.String aTransId)
EPPNameVerificationUpdateCmd
constructor that takes just the
client transaction id. The authorization information must be set via
setAuthInfo(EPPAuthInfo)
.aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.public EPPNameVerificationUpdateCmd(java.lang.String aTransId, java.lang.String aCode, EPPAuthInfo aAuthInfo)
EPPNameVerificationUpdateCmd
constructor that takes the
authorization information.aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.aCode
- Verification codeaAuthInfo
- Authorization info for the Name Verification (NV) objectpublic java.lang.String getNamespace()
EPPNameVerificationUpdateCmd
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPNameVerificationMapFactory.NS
public java.lang.String getCode()
public void setCode(java.lang.String aCode)
aCode
- Verification code valuepublic EPPAuthInfo getAuthInfo()
null
otherwise.public void setAuthInfo(EPPAuthInfo aAuthInfo)
aAuthInfo
- Authorization information of NV objectprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameVerificationUpdateCmd
instance.doEncode
in class EPPUpdateCmd
aDocument
- DOM Document that is being built. Used as an Element factory.EPPNameVerificationUpdateCmd
instance.EPPEncodeException
- Unable to encode EPPNameVerificationUpdateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameVerificationUpdateCmd
attributes from the
aElement DOM Element tree.doDecode
in class EPPUpdateCmd
aElement
- Root DOM Element to decode
EPPNameVerificationUpdateCmd
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPNameVerificationUpdateCmd
with
this instance.equals
in class EPPUpdateCmd
aObject
- 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
EPPNameVerificationUpdateCmd
.clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPNameVerificationUpdateCmd
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.