|
||||||||||
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.nv.EPPNameVerificationCreateCmd
public class EPPNameVerificationCreateCmd
Create command to implement the domain name verification and to generate a domain verification code that is contained in the response.
com.verisign.epp.codec.vsp.domaincode.EPPNameVerificationCreateResp
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPNameVerificationCreateCmd . |
static java.lang.String |
ELM_NAME
XML root tag for EPPNameVerificationCreateCmd . |
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 | |
---|---|
EPPNameVerificationCreateCmd()
EPPNameVerificationCreateCmd default constructor. |
|
EPPNameVerificationCreateCmd(java.lang.String aTransId)
EPPNameVerificationCreateCmd constructor that takes just the
client transaction id. |
|
EPPNameVerificationCreateCmd(java.lang.String aTransId,
EPPDomainNameVerification aDnv,
EPPAuthInfo aAuthInfo)
EPPNameVerificationCreateCmd constructor for a Domain Name
Verification (DNV) with the required attributes. |
|
EPPNameVerificationCreateCmd(java.lang.String aTransId,
EPPRealNameVerification aRnv,
EPPAuthInfo aAuthInfo)
EPPNameVerificationCreateCmd constructor for a Real Name
Verification (RNV) with the required attributes. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPNameVerificationCreateCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPNameVerificationCreateCmd 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 EPPNameVerificationCreateCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPNameVerificationCreateCmd with
this instance. |
EPPAuthInfo |
getAuthInfo()
Gets the authorization information for the Name Verification (NV) object. |
EPPDomainNameVerification |
getDnv()
Gets the Domain Name Verification (DNV) object to verify and create. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPNameVerificationCreateCmd . |
EPPRealNameVerification |
getRnv()
Gets the Real Name Verification (RNV) object information to verify and create. |
boolean |
hasDnv()
Has the Domain Name Verification (DNV) object information been set? |
boolean |
hasRnv()
Has the Real Name Verification (RNV) object information been set? |
void |
setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object. |
void |
setDnv(EPPDomainNameVerification aDnv)
Sets the Domain Name Verification (DNV) object information to verify and create. |
void |
setRnv(EPPRealNameVerification aRnv)
Sets the Real Name Verification (RNV) object information to verify and 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 |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
EPPNameVerificationCreateCmd
.
public static final java.lang.String ELM_NAME
EPPNameVerificationCreateCmd
.
Constructor Detail |
---|
public EPPNameVerificationCreateCmd()
EPPNameVerificationCreateCmd
default constructor.
public EPPNameVerificationCreateCmd(java.lang.String aTransId)
EPPNameVerificationCreateCmd
constructor that takes just the
client transaction id. The requirement attributes must be set using the
setter methods.
public EPPNameVerificationCreateCmd(java.lang.String aTransId, EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationCreateCmd
constructor for a Domain Name
Verification (DNV) with the required attributes.
aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.aDnv
- Domain Name Verification (DNV) object to verify and createaAuthInfo
- Authorization info for the DNV objectpublic EPPNameVerificationCreateCmd(java.lang.String aTransId, EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationCreateCmd
constructor for a Real Name
Verification (RNV) with the required attributes.
aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.aRnv
- Real Name Verification (RNV) object to verify and createaAuthInfo
- Authorization info for the RNV objectMethod Detail |
---|
public java.lang.String getNamespace()
EPPNameVerificationCreateCmd
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPCommand
EPPNameVerificationMapFactory.NS
public boolean hasDnv()
true
if the Domain Name Verification (DNV) object
information has been set; false
otherwise.public EPPDomainNameVerification getDnv()
null
otherwise.public void setDnv(EPPDomainNameVerification aDnv)
aDnv
- The Domain Name Verification (DNV) object or null
to undefined it.public boolean hasRnv()
true
if the Real Name Verification (RNV) object
information has been set; false
otherwise.public EPPRealNameVerification getRnv()
null
otherwise.public void setRnv(EPPRealNameVerification aRnv)
aRnv
- The Real Name Verification (RNV) object or null
to undefined it.public 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
EPPNameVerificationCreateCmd
instance.
doEncode
in class EPPCreateCmd
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPNameVerificationCreateCmd
instance.
EPPEncodeException
- Unable to encode EPPNameVerificationCreateCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameVerificationCreateCmd
attributes from the
aElement DOM Element tree.
doDecode
in class EPPCreateCmd
aElement
- Root DOM Element to decode
EPPNameVerificationCreateCmd
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPNameVerificationCreateCmd
with
this instance.
equals
in class EPPCreateCmd
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
EPPNameVerificationCreateCmd
.
clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPNameVerificationCreateCmd
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |