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,java.io.Serializable,java.lang.Cloneable
public class EPPNameVerificationInfoCmd extends EPPInfoCmd
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:
EPPNameVerificationInfoResp, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEPPNameVerificationInfoCmd.TypeInformation 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
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPNameVerificationInfoCmd.static java.lang.StringELM_NAMEXML 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
Constructors Constructor Description EPPNameVerificationInfoCmd()EPPNameVerificationInfoCmddefault constructor.EPPNameVerificationInfoCmd(java.lang.String aTransId)EPPNameVerificationInfoCmdconstructor that takes just the client transaction id.EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode)EPPNameVerificationInfoCmdconstructor that takes the required verification code value.EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode, EPPNameVerificationInfoCmd.Type aType)EPPNameVerificationInfoCmdconstructor that takes all of the required attributes.EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode, EPPNameVerificationInfoCmd.Type aType, EPPAuthInfo aAuthInfo)EPPNameVerificationInfoCmdconstructor that takes all of the required attributes.}.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPNameVerificationInfoCmd.protected voiddoDecode(org.w3c.dom.Element aElement)Decode theEPPNameVerificationInfoCmdattributes from the aElement DOM Element tree.protected org.w3c.dom.ElementdoEncode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPNameVerificationInfoCmdinstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPNameVerificationInfoCmdwith this instance.EPPAuthInfogetAuthInfo()Gets the OPTIONAL authorization information for the Name Verification (NV) object.java.lang.StringgetCode()Gets the verification code value.EPPNameVerificationInfoCmd.TypegetInfoType()Gets the input type defined by theTypeenumeration.java.lang.StringgetNamespace()Gets the EPP command Namespace associated withEPPNameVerificationInfoCmd.voidsetAuthInfo(EPPAuthInfo aAuthInfo)Sets the authorization information for the Name Verification (NV) object.voidsetCode(java.lang.String aCode)Sets the verification code value.voidsetInfoType(EPPNameVerificationInfoCmd.Type aType)Sets the input type using one of theTypeenumeration values.java.lang.StringtoString()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, getType
-
Methods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getOp, getTransId, hasExtension, hasExtensions, hasTransId, setExtension, setExtensions, setTransId
-
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPNameVerificationInfoCmd.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPNameVerificationInfoCmd.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPNameVerificationInfoCmd
public EPPNameVerificationInfoCmd()
EPPNameVerificationInfoCmddefault constructor.
-
EPPNameVerificationInfoCmd
public EPPNameVerificationInfoCmd(java.lang.String aTransId)
EPPNameVerificationInfoCmdconstructor that takes just the client transaction id.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.
-
EPPNameVerificationInfoCmd
public EPPNameVerificationInfoCmd(java.lang.String aTransId, java.lang.String aCode)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(java.lang.String aTransId, java.lang.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(java.lang.String aTransId, java.lang.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 Detail
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command Namespace associated withEPPNameVerificationInfoCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPNameVerificationMapFactory.NS
-
getCode
public java.lang.String getCode()
Gets the verification code value.- Returns:
- The verification code value.
-
setCode
public void setCode(java.lang.String aCode)
Sets the verification code value.- Parameters:
aCode- Verification code value
-
getInfoType
public EPPNameVerificationInfoCmd.Type getInfoType()
Gets the input type defined by theTypeenumeration.- Returns:
- input type
-
setInfoType
public void setInfoType(EPPNameVerificationInfoCmd.Type aType)
Sets the input type using one of theTypeenumeration values.- Parameters:
aType- Input type
-
getAuthInfo
public EPPAuthInfo getAuthInfo()
Gets the OPTIONAL authorization information for the Name Verification (NV) object.- Returns:
- Authorization information if defined;
nullotherwise.
-
setAuthInfo
public void setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object.- Parameters:
aAuthInfo- Authorization information of NV object.
-
doEncode
protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode 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
protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode 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
public boolean equals(java.lang.Object aObject)
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
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPNameVerificationInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPNameVerificationInfoCmd - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
-