Package com.verisign.epp.codec.nv
Class EPPNameVerificationCreateFailed
java.lang.Object
com.verisign.epp.codec.nv.EPPNameVerificationCreateFailed
- All Implemented Interfaces:
EPPCodecComponent,EPPNameVerificationCreateResult,Serializable,Cloneable
public class EPPNameVerificationCreateFailed
extends Object
implements EPPNameVerificationCreateResult
Create response for a successful domain name verification, which results in
the return of a digitally signed domain verification code.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEPPNameVerificationCreateFaileddefault constructor.EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus, String aReason) EPPNameVerificationCreateFailedconstructor that takes the required attributes.EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus, String aReason, String aLanguage) EPPNameVerificationCreateFailedconstructor that takes the all attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPNameVerificationCreateFailed.voidDecode theEPPNameVerificationCreateFailedattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPNameVerificationCreateFailedinstance.booleanCompare an instance ofEPPNameVerificationCreateFailedwith this instance.Gets the language of the failure with the default of "en".Gets the EPP command namespace associated withEPPNameVerificationCreateFailed.Gets the reason for the failure.Gets the verification status.getType()Gets the EPP response type associated withEPPNameVerificationCreateFailed.voidsetLanguage(String aLanguage) Sets language of the reason.voidSets the reason for the failure.voidsetStatus(EPPNameVerificationStatus aStatus) Sets the verification status.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPNameVerificationCreateFailed.- See Also:
-
ELM_NAME
XML root tag forEPPNameVerificationCreateFailed.- See Also:
-
-
Constructor Details
-
EPPNameVerificationCreateFailed
public EPPNameVerificationCreateFailed()EPPNameVerificationCreateFaileddefault constructor. -
EPPNameVerificationCreateFailed
EPPNameVerificationCreateFailedconstructor that takes the required attributes.- Parameters:
aStatus- The verification statusaReason- Human-readable reason of the failure
-
EPPNameVerificationCreateFailed
public EPPNameVerificationCreateFailed(EPPNameVerificationStatus aStatus, String aReason, String aLanguage) EPPNameVerificationCreateFailedconstructor that takes the all attributes.- Parameters:
aStatus- The verification statusaReason- Human-readable reason of the failureaLanguage- Language of the reason with the default of "en".
-
-
Method Details
-
getStatus
Gets the verification status.- Returns:
- Verification status
-
setStatus
Sets the verification status.- Parameters:
aStatus- The verification status
-
getReason
Gets the reason for the failure.- Returns:
- Reason for the failure
-
setReason
Sets the reason for the failure.- Parameters:
aReason- Reason for the failure
-
getLanguage
Gets the language of the failure with the default of "en".- Returns:
- Language of the failure
-
setLanguage
Sets language of the reason.- Parameters:
aLanguage- Language of the reason
-
encode
Encode a DOM Element tree from the attributes of theEPPNameVerificationCreateFailedinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the EPPNameVerificationCreateFailed instance.
- Throws:
EPPEncodeException- Unable to encode EPPNameVerificationCreateFailed instance.
-
decode
Decode theEPPNameVerificationCreateFailedattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCreateFailedfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPNameVerificationCreateFailed.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPNameVerificationCreateFailed - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
Gets the EPP response type associated withEPPNameVerificationCreateFailed.- Returns:
EPPNameVerificationCreateFailed.ELM_NAME
-
getNamespace
Gets the EPP command namespace associated withEPPNameVerificationCreateFailed.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPNameVerificationMapFactory.NS
-
equals
Compare an instance ofEPPNameVerificationCreateFailedwith this instance. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-