Class EPPVerificationCodeInfo
java.lang.Object
com.verisign.epp.codec.verificationcode.EPPVerificationCodeInfo
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
Extension to the info command to retrieve the verification information
for the verification profile assigned to the client or using the
verification profile explicitly specified.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreate anEPPVerificationCodeInfoinstance.EPPVerificationCodeInfo(String aProfile) Create aEPPVerificationCodeInfoinstance with the optional client specified profile. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPVerificationCodeInfo.voidDecode the DOM element to theEPPVerificationCodeInfo.Encode theEPPVerificationCodeInfoto a DOM Elementbooleanimplements a deepEPPVerificationCodeInfocompare.Returns the XML namespace associated with theEPPCodecComponent.Gets the client specified profile to base the verification information on.booleanIs the verification profile defined?voidsetProfile(String aProfile) Sets the client specified profile to base the verification information on.
-
Field Details
-
ELM_LOCALNAME
Constant for the verification code info extension local name- See Also:
-
ELM_NAME
Constant for the verification code info extension tag- See Also:
-
-
Constructor Details
-
EPPVerificationCodeInfo
public EPPVerificationCodeInfo()Create anEPPVerificationCodeInfoinstance. -
EPPVerificationCodeInfo
Create aEPPVerificationCodeInfoinstance with the optional client specified profile.- Parameters:
aProfile- Profile to base the verification information on.
-
-
Method Details
-
hasProfile
public boolean hasProfile()Is the verification profile defined?- Returns:
trueif the verification profile is defined;falseotherwise.
-
getProfile
Gets the client specified profile to base the verification information on.- Returns:
- Verification profile if defined;
nullotherwise.
-
setProfile
Sets the client specified profile to base the verification information on.- Parameters:
aProfile- Profile to base the verification information on.
-
clone
CloneEPPVerificationCodeInfo.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPVerificationCodeInfo - Throws:
CloneNotSupportedException- standard Object.clone exception
-
encode
Encode theEPPVerificationCodeInfoto a DOM Element- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- a DOM Document to attach data to.- Returns:
- The root element of this component.
- Throws:
EPPEncodeException- Thrown if any errors prevent encoding.
-
decode
Decode the DOM element to theEPPVerificationCodeInfo.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- DOM Element to decode the attribute values- Throws:
EPPDecodeException- Error decoding the DOM Element
-
equals
implements a deepEPPVerificationCodeInfocompare. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-