public class EPPVerificationCodeInfo extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the verification code info extension local name
|
static java.lang.String |
ELM_NAME
Constant for the verification code info extension tag
|
Constructor and Description |
---|
EPPVerificationCodeInfo()
Create an
EPPVerificationCodeInfo instance. |
EPPVerificationCodeInfo(java.lang.String aProfile)
Create a
EPPVerificationCodeInfo instance with the optional
client specified profile. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPVerificationCodeInfo . |
void |
decode(org.w3c.dom.Element aElement)
Decode the DOM element to the
EPPVerificationCodeInfo . |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode the
EPPVerificationCodeInfo to a DOM Element |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPVerificationCodeInfo compare. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.String |
getProfile()
Gets the client specified profile to base the verification information on.
|
boolean |
hasProfile()
Is the verification profile defined?
|
void |
setProfile(java.lang.String aProfile)
Sets the client specified profile to base the verification information on.
|
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPVerificationCodeInfo()
EPPVerificationCodeInfo
instance.public EPPVerificationCodeInfo(java.lang.String aProfile)
EPPVerificationCodeInfo
instance with the optional
client specified profile.aProfile
- Profile to base the verification information on.public boolean hasProfile()
true
if the verification profile is defined; false
otherwise.public java.lang.String getProfile()
null
otherwise.public void setProfile(java.lang.String aProfile)
aProfile
- Profile to base the verification information on.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPVerificationCodeInfo
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPVerificationCodeInfo
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPVerificationCodeInfo
to a DOM Elementencode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPVerificationCodeInfo
.decode
in interface EPPCodecComponent
aElement
- DOM Element to decode the attribute valuesEPPDecodeException
- Error decoding the DOM Elementpublic boolean equals(java.lang.Object aObject)
EPPVerificationCodeInfo
compare.equals
in class java.lang.Object
aObject
- EPPVerificationCodeInfo
instance to compare withpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.