|
||||||||||
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.EPPInfoCmd
com.verisign.epp.codec.nv.EPPNameVerificationInfoCmd
public class EPPNameVerificationInfoCmd
Info command to get the information associated with the verification code, which includes either the signed code associated with the verification code or the input parameters passed for the domain verification.
EPPNameVerificationInfoResp
,
Serialized FormNested Class Summary | |
---|---|
static class |
EPPNameVerificationInfoCmd.Type
Information type with one of the following values: INPUT - Get the input parameters provided in executing
the verification associated with the code. |
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPNameVerificationInfoCmd . |
static java.lang.String |
ELM_NAME
XML root tag for EPPNameVerificationInfoCmd . |
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 | |
---|---|
EPPNameVerificationInfoCmd()
EPPNameVerificationInfoCmd default constructor. |
|
EPPNameVerificationInfoCmd(java.lang.String aTransId)
EPPNameVerificationInfoCmd constructor that takes just the
client transaction id. |
|
EPPNameVerificationInfoCmd(java.lang.String aTransId,
java.lang.String aCode)
EPPNameVerificationInfoCmd constructor that takes the
required verification code value. |
|
EPPNameVerificationInfoCmd(java.lang.String aTransId,
java.lang.String aCode,
EPPNameVerificationInfoCmd.Type aType)
EPPNameVerificationInfoCmd constructor that takes all of the
required attributes. |
|
EPPNameVerificationInfoCmd(java.lang.String aTransId,
java.lang.String aCode,
EPPNameVerificationInfoCmd.Type aType,
EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoCmd constructor that takes all of the
required attributes. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPNameVerificationInfoCmd . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPNameVerificationInfoCmd 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 EPPNameVerificationInfoCmd instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPNameVerificationInfoCmd with this
instance. |
EPPAuthInfo |
getAuthInfo()
Gets the OPTIONAL authorization information for the Name Verification (NV) object. |
java.lang.String |
getCode()
Gets the verification code value. |
EPPNameVerificationInfoCmd.Type |
getInfoType()
Gets the input type defined by the Type enumeration. |
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with EPPNameVerificationInfoCmd . |
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. |
void |
setInfoType(EPPNameVerificationInfoCmd.Type aType)
Sets the input type using one of the Type enumeration
values. |
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.EPPInfoCmd |
---|
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
EPPNameVerificationInfoCmd
.
public static final java.lang.String ELM_NAME
EPPNameVerificationInfoCmd
.
Constructor Detail |
---|
public EPPNameVerificationInfoCmd()
EPPNameVerificationInfoCmd
default constructor.
public EPPNameVerificationInfoCmd(java.lang.String aTransId)
EPPNameVerificationInfoCmd
constructor that takes just the
client transaction id.
aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.public EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode)
EPPNameVerificationInfoCmd
constructor that takes the
required verification code value. The default info type is set to
Type.SIGNED_CODE
.
aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.aCode
- Verification codepublic EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode, EPPNameVerificationInfoCmd.Type aType)
EPPNameVerificationInfoCmd
constructor that takes all of the
required attributes..
aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.aCode
- Verification codeaType
- Information typepublic EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode, EPPNameVerificationInfoCmd.Type aType, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoCmd
constructor that takes all of the
required attributes..
aTransId
- Client transaction id. Set to null
of no client
transaction id should be used.aCode
- Verification codeaType
- Information typeaAuthInfo
- Authorization information for Name Verification (NV) object.Method Detail |
---|
public java.lang.String getNamespace()
EPPNameVerificationInfoCmd
.
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 EPPNameVerificationInfoCmd.Type getInfoType()
Type
enumeration.
public void setInfoType(EPPNameVerificationInfoCmd.Type aType)
Type
enumeration
values.
aType
- Input typepublic EPPAuthInfo getAuthInfo()
null
otherwise.public void setAuthInfo(EPPAuthInfo aAuthInfo)
aAuthInfo
- Authorization information of NV object.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameVerificationInfoCmd
instance.
doEncode
in class EPPInfoCmd
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPNameVerificationInfoCmd
instance.
EPPEncodeException
- Unable to encode EPPNameVerificationInfoCmd
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameVerificationInfoCmd
attributes from the
aElement DOM Element tree.
doDecode
in class EPPInfoCmd
aElement
- Root DOM Element to decode
EPPNameVerificationInfoCmd
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPNameVerificationInfoCmd
with this
instance.
equals
in class EPPInfoCmd
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
EPPNameVerificationInfoCmd
.
clone
in interface EPPCodecComponent
clone
in class EPPCommand
EPPNameVerificationInfoCmd
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 |