|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.nv.EPPDomainNameVerification
public class EPPDomainNameVerification
Represents a Domain Name Verification (DNV) used in
EPPNameVerificationCreateCmd
and the
EPPNameVerificationInfoResp
.
EPPNameVerificationCreateCmd
,
EPPNameVerificationInfoResp
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPDomainNameVerification . |
static java.lang.String |
ELM_NAME
XML root tag for EPPDomainNameVerification . |
Constructor Summary | |
---|---|
EPPDomainNameVerification()
EPPDomainNameVerification default constructor. |
|
EPPDomainNameVerification(java.lang.String aName)
EPPDomainNameVerification constructor that takes the
required domain label. |
|
EPPDomainNameVerification(java.lang.String aName,
java.lang.String aRnvCode)
EPPDomainNameVerification constructor that takes the
required domain label and the optional Real Name Verification Code Token
value for verification of a Restricted Name. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPDomainNameVerification . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPDomainNameVerification attributes from the
aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPDomainNameVerification instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPDomainNameVerification with this
instance. |
java.lang.String |
getName()
Gets the domain label for verification |
java.lang.String |
getRnvCode()
Gets the Real Name Verification Code Token value. |
boolean |
hasRnvCode()
Has the Real Name Verification Code Token value been set? |
void |
setName(java.lang.String aName)
Sets the domain label for verification. |
void |
setRnvCode(java.lang.String aRnvCode)
Sets the Real Name Verification Code Token value. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String ELM_LOCALNAME
EPPDomainNameVerification
.
public static final java.lang.String ELM_NAME
EPPDomainNameVerification
.
Constructor Detail |
---|
public EPPDomainNameVerification()
EPPDomainNameVerification
default constructor.
public EPPDomainNameVerification(java.lang.String aName)
EPPDomainNameVerification
constructor that takes the
required domain label.
aName
- Domain label to verifypublic EPPDomainNameVerification(java.lang.String aName, java.lang.String aRnvCode)
EPPDomainNameVerification
constructor that takes the
required domain label and the optional Real Name Verification Code Token
value for verification of a Restricted Name.
aName
- Domain label to verifyaRnvCode
- OPTIONAL Real Name Verification Code Token value. Set to
null
if undefined.Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- Domain label for verificationpublic boolean hasRnvCode()
true
if the code has been set; false
otherwise.public java.lang.String getRnvCode()
null
otherwise.public void setRnvCode(java.lang.String aRnvCode)
aRnvCode
- Real Name Verification Code Token value. Set to
null
if undefined.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPDomainNameVerification
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPDomainNameVerification
instance.
EPPEncodeException
- Unable to encode EPPDomainNameVerification
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPDomainNameVerification
attributes from the
aElement DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPDomainNameVerification
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPDomainNameVerification
with this
instance.
equals
in class java.lang.Object
aObject
- Object to compare with.
true
if this object is the same as the aObject argument;
false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPDomainNameVerification
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPDomainNameVerification
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |