public class EPPNameVerificationInfoInputResult extends java.lang.Object implements EPPNameVerificationInfoResult
EPPNameVerificationInfoCmd
type is set to
EPPNameVerificationInfoCmd.Type.INPUT
.EPPNameVerificationInfoCmd
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPNameVerificationInfoInputResult . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPNameVerificationInfoInputResult . |
Constructor and Description |
---|
EPPNameVerificationInfoInputResult()
EPPNameVerificationInfoInputResult default constructor. |
EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)
EPPNameVerificationInfoInputResult constructor for a Domain
Name Verification (DNV). |
EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv,
EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResult constructor for a Domain
Name Verification (DNV) with all attributes. |
EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv)
EPPNameVerificationInfoInputResult constructor for a Real
Name Verification (RNV). |
EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv,
EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResult constructor for a Real
Name Verification (RNV) with all attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPNameVerificationInfoInputResult . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPNameVerificationInfoInputResult 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
EPPNameVerificationInfoInputResult instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameVerificationInfoInputResult
with this instance. |
EPPAuthInfo |
getAuthInfo()
Gets the authorization information for the Name Verification (NV) object.
|
EPPDomainNameVerification |
getDnv()
Gets the Domain Name Verification (DNV) object to verify and create.
|
java.lang.String |
getNamespace()
Gets the EPP command Namespace associated with
EPPNameVerificationInfoInputResult . |
EPPRealNameVerification |
getRnv()
Gets the Real Name Verification (RNV) object information to verify and
create.
|
boolean |
hasAuthInfo()
Has the authorization information for the Name Verification (NV) object
been set?
|
boolean |
hasDnv()
Has the Domain Name Verification (DNV) object information been set?
|
boolean |
hasRnv()
Has the Real Name Verification (RNV) object information been set?
|
void |
setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object.
|
void |
setDnv(EPPDomainNameVerification aDnv)
Sets the Domain Name Verification (DNV) object information to verify and
create.
|
void |
setRnv(EPPRealNameVerification aRnv)
Sets the Real Name Verification (RNV) object information to verify and
create.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
EPPNameVerificationInfoInputResult
.public static final java.lang.String ELM_NAME
EPPNameVerificationInfoInputResult
.public EPPNameVerificationInfoInputResult()
EPPNameVerificationInfoInputResult
default constructor.public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)
EPPNameVerificationInfoInputResult
constructor for a Domain
Name Verification (DNV).aDnv
- Domain Name Verification (DNV) object to verify and createpublic EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResult
constructor for a Domain
Name Verification (DNV) with all attributes.aDnv
- Domain Name Verification (DNV) object to verify and createaAuthInfo
- Authorization info for the DNV objectpublic EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv)
EPPNameVerificationInfoInputResult
constructor for a Real
Name Verification (RNV).aRnv
- Real Name Verification (RNV) object to verify and createpublic EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResult
constructor for a Real
Name Verification (RNV) with all attributes.aRnv
- Real Name Verification (RNV) object to verify and createaAuthInfo
- Authorization info for the RNV objectpublic java.lang.String getNamespace()
EPPNameVerificationInfoInputResult
.getNamespace
in interface EPPCodecComponent
EPPNameVerificationMapFactory.NS
public boolean hasDnv()
true
if the Domain Name Verification (DNV) object
information has been set; false
otherwise.public EPPDomainNameVerification getDnv()
null
otherwise.public void setDnv(EPPDomainNameVerification aDnv)
aDnv
- The Domain Name Verification (DNV) object or null
to undefined it.public boolean hasRnv()
true
if the Real Name Verification (RNV) object
information has been set; false
otherwise.public EPPRealNameVerification getRnv()
null
otherwise.public void setRnv(EPPRealNameVerification aRnv)
aRnv
- The Real Name Verification (RNV) object or null
to undefined it.public boolean hasAuthInfo()
true
if the authorization information for the Name
Verification (NV) object has been set; false
otherwise.public EPPAuthInfo getAuthInfo()
null
otherwise.public void setAuthInfo(EPPAuthInfo aAuthInfo)
aAuthInfo
- Authorization information of NV objectpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPNameVerificationInfoInputResult
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.EPPNameVerificationInfoInputResult
instance.EPPEncodeException
- Unable to encode
EPPNameVerificationInfoInputResult
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPNameVerificationInfoInputResult
attributes
from the aElement DOM Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPNameVerificationInfoInputResult
from.EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPNameVerificationInfoInputResult
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
EPPNameVerificationInfoInputResult
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPNameVerificationInfoInputResult
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.