Package com.verisign.epp.codec.nv
Class EPPNameVerificationCreateCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPCreateCmd
com.verisign.epp.codec.nv.EPPNameVerificationCreateCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Create command to implement the domain name verification and to generate a
domain verification code that is contained in the response.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPNameVerificationCreateCmd.static final StringXML root tag forEPPNameVerificationCreateCmd.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
ConstructorsConstructorDescriptionEPPNameVerificationCreateCmddefault constructor.EPPNameVerificationCreateCmd(String aTransId) EPPNameVerificationCreateCmdconstructor that takes just the client transaction id.EPPNameVerificationCreateCmd(String aTransId, EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo) EPPNameVerificationCreateCmdconstructor for a Domain Name Verification (DNV) with the required attributes.EPPNameVerificationCreateCmd(String aTransId, EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo) EPPNameVerificationCreateCmdconstructor for a Real Name Verification (RNV) with the required attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationCreateCmd.protected voidDecode theEPPNameVerificationCreateCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPNameVerificationCreateCmdinstance.booleanCompare an instance ofEPPNameVerificationCreateCmdwith this instance.Gets the authorization information for the Name Verification (NV) object.getDnv()Gets the Domain Name Verification (DNV) object to verify and create.Gets the EPP command Namespace associated withEPPNameVerificationCreateCmd.getRnv()Gets the Real Name Verification (RNV) object information to verify and create.booleanhasDnv()Has the Domain Name Verification (DNV) object information been set?booleanhasRnv()Has the Real Name Verification (RNV) object information been set?voidsetAuthInfo(EPPAuthInfo aAuthInfo) Sets the authorization information for the Name Verification (NV) object.voidSets the Domain Name Verification (DNV) object information to verify and create.voidSets the Real Name Verification (RNV) object information to verify and create.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPCreateCmd
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 forEPPNameVerificationCreateCmd.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationCreateCmd.- See Also:
-
-
Constructor Details
-
EPPNameVerificationCreateCmd
public EPPNameVerificationCreateCmd()EPPNameVerificationCreateCmddefault constructor. -
EPPNameVerificationCreateCmd
EPPNameVerificationCreateCmdconstructor that takes just the client transaction id. The requirement attributes must be set using the setter methods.- Parameters:
aTransId- Client transaction identifier
-
EPPNameVerificationCreateCmd
public EPPNameVerificationCreateCmd(String aTransId, EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo) EPPNameVerificationCreateCmdconstructor for a Domain Name Verification (DNV) with the required attributes.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.aDnv- Domain Name Verification (DNV) object to verify and createaAuthInfo- Authorization info for the DNV object
-
EPPNameVerificationCreateCmd
public EPPNameVerificationCreateCmd(String aTransId, EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo) EPPNameVerificationCreateCmdconstructor for a Real Name Verification (RNV) with the required attributes.- Parameters:
aTransId- Client transaction id. Set tonullof no client transaction id should be used.aRnv- Real Name Verification (RNV) object to verify and createaAuthInfo- Authorization info for the RNV object
-
-
Method Details
-
getNamespace
Gets the EPP command Namespace associated withEPPNameVerificationCreateCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPNameVerificationMapFactory.NS
-
hasDnv
public boolean hasDnv()Has the Domain Name Verification (DNV) object information been set?- Returns:
trueif the Domain Name Verification (DNV) object information has been set;falseotherwise.
-
getDnv
Gets the Domain Name Verification (DNV) object to verify and create.- Returns:
- The Domain Name Verification (DNV) object if defined;
nullotherwise.
-
setDnv
Sets the Domain Name Verification (DNV) object information to verify and create.- Parameters:
aDnv- The Domain Name Verification (DNV) object ornullto undefined it.
-
hasRnv
public boolean hasRnv()Has the Real Name Verification (RNV) object information been set?- Returns:
trueif the Real Name Verification (RNV) object information has been set;falseotherwise.
-
getRnv
Gets the Real Name Verification (RNV) object information to verify and create.- Returns:
- The Real Name Verification (RNV) object if defined;
nullotherwise.
-
setRnv
Sets the Real Name Verification (RNV) object information to verify and create.- Parameters:
aRnv- The Real Name Verification (RNV) object ornullto undefined it.
-
getAuthInfo
Gets the 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 theEPPNameVerificationCreateCmdinstance.- Specified by:
doEncodein classEPPCreateCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationCreateCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationCreateCmdinstance.
-
doDecode
Decode theEPPNameVerificationCreateCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPCreateCmd- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCreateCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
Compare an instance ofEPPNameVerificationCreateCmdwith this instance.- Overrides:
equalsin classEPPCreateCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise.
-
clone
CloneEPPNameVerificationCreateCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- Deep copy clone of
EPPNameVerificationCreateCmd - 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.
-