Package com.verisign.epp.codec.nv
Class EPPNameVerificationInfoCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPInfoCmd
com.verisign.epp.codec.nv.EPPNameVerificationInfoCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumInformation type with one of the following values:
INPUT- Get the input parameters provided in executing the verification associated with the code.SIGNED_CODE- Get the signed code associated with the code. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPNameVerificationInfoCmd.static final StringXML root tag forEPPNameVerificationInfoCmd.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
ConstructorsConstructorDescriptionEPPNameVerificationInfoCmddefault constructor.EPPNameVerificationInfoCmd(String aTransId) EPPNameVerificationInfoCmdconstructor that takes just the client transaction id.EPPNameVerificationInfoCmd(String aTransId, String aCode) EPPNameVerificationInfoCmdconstructor that takes the required verification code value.EPPNameVerificationInfoCmd(String aTransId, String aCode, EPPNameVerificationInfoCmd.Type aType) EPPNameVerificationInfoCmdconstructor that takes all of the required attributes.EPPNameVerificationInfoCmd(String aTransId, String aCode, EPPNameVerificationInfoCmd.Type aType, EPPAuthInfo aAuthInfo) EPPNameVerificationInfoCmdconstructor that takes all of the required attributes.}. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationInfoCmd.protected voidDecode theEPPNameVerificationInfoCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPNameVerificationInfoCmdinstance.booleanCompare an instance ofEPPNameVerificationInfoCmdwith this instance.Gets the OPTIONAL authorization information for the Name Verification (NV) object.getCode()Gets the verification code value.Gets the input type defined by theTypeenumeration.Gets the EPP command Namespace associated withEPPNameVerificationInfoCmd.voidsetAuthInfo(EPPAuthInfo aAuthInfo) Sets the authorization information for the Name Verification (NV) object.voidSets the verification code value.voidSets the input type using one of theTypeenumeration values.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPInfoCmd
doGenDecode, doGenEncode, getTypeMethods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getKey, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPNameVerificationInfoCmd.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationInfoCmd.- See Also:
-
-
Constructor Details
-
EPPNameVerificationInfoCmd
public EPPNameVerificationInfoCmd()EPPNameVerificationInfoCmddefault constructor. -
EPPNameVerificationInfoCmd
EPPNameVerificationInfoCmdconstructor that takes just the client transaction id.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.
-
EPPNameVerificationInfoCmd
EPPNameVerificationInfoCmdconstructor that takes the required verification code value. The default info type is set toType.SIGNED_CODE.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.aCode- Verification code
-
EPPNameVerificationInfoCmd
public EPPNameVerificationInfoCmd(String aTransId, String aCode, EPPNameVerificationInfoCmd.Type aType) EPPNameVerificationInfoCmdconstructor that takes all of the required attributes.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.aCode- Verification codeaType- Information type
-
EPPNameVerificationInfoCmd
public EPPNameVerificationInfoCmd(String aTransId, String aCode, EPPNameVerificationInfoCmd.Type aType, EPPAuthInfo aAuthInfo) EPPNameVerificationInfoCmdconstructor that takes all of the required attributes.}.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.aCode- Verification codeaType- Information typeaAuthInfo- Authorization information for Name Verification (NV) object.
-
-
Method Details
-
getNamespace
Gets the EPP command Namespace associated withEPPNameVerificationInfoCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPNameVerificationMapFactory.NS
-
getCode
Gets the verification code value.- Returns:
- The verification code value.
-
setCode
Sets the verification code value.- Parameters:
aCode- Verification code value
-
getInfoType
Gets the input type defined by theTypeenumeration.- Returns:
- input type
-
setInfoType
Sets the input type using one of theTypeenumeration values.- Parameters:
aType- Input type
-
getAuthInfo
Gets the OPTIONAL authorization information for the Name Verification (NV) object.- Returns:
- Authorization information if defined;
nullotherwise.
-
setAuthInfo
Sets the authorization information for the Name Verification (NV) object.- Parameters:
aAuthInfo- Authorization information of NV object.
-
doEncode
Encode a DOM Element tree from the attributes of theEPPNameVerificationInfoCmdinstance.- Specified by:
doEncodein classEPPInfoCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationInfoCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationInfoCmdinstance.
-
doDecode
Decode theEPPNameVerificationInfoCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPInfoCmd- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationInfoCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
Compare an instance ofEPPNameVerificationInfoCmdwith this instance.- Overrides:
equalsin classEPPInfoCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise.
-
clone
CloneEPPNameVerificationInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPNameVerificationInfoCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-