Package com.verisign.epp.codec.nv
Class EPPNameVerificationInfoInputResult
- java.lang.Object
-
- com.verisign.epp.codec.nv.EPPNameVerificationInfoInputResult
-
- All Implemented Interfaces:
EPPCodecComponent
,EPPNameVerificationInfoResult
,java.io.Serializable
,java.lang.Cloneable
public class EPPNameVerificationInfoInputResult extends java.lang.Object implements EPPNameVerificationInfoResult
Info result for a command for the input, where theEPPNameVerificationInfoCmd
type is set toEPPNameVerificationInfoCmd.Type.INPUT
.- See Also:
EPPNameVerificationInfoCmd
, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ELM_LOCALNAME
XML local name forEPPNameVerificationInfoInputResult
.static java.lang.String
ELM_NAME
XML root tag forEPPNameVerificationInfoInputResult
.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
CloneEPPNameVerificationInfoInputResult
.void
decode(org.w3c.dom.Element aElement)
Decode theEPPNameVerificationInfoInputResult
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 theEPPNameVerificationInfoInputResult
instance.boolean
equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationInfoInputResult
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 withEPPNameVerificationInfoInputResult
.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 ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPNameVerificationInfoInputResult
.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPNameVerificationInfoInputResult
.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult()
EPPNameVerificationInfoInputResult
default constructor.
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)
EPPNameVerificationInfoInputResult
constructor for a Domain Name Verification (DNV).- Parameters:
aDnv
- Domain Name Verification (DNV) object to verify and create
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResult
constructor for a Domain Name Verification (DNV) with all attributes.- Parameters:
aDnv
- Domain Name Verification (DNV) object to verify and createaAuthInfo
- Authorization info for the DNV object
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv)
EPPNameVerificationInfoInputResult
constructor for a Real Name Verification (RNV).- Parameters:
aRnv
- Real Name Verification (RNV) object to verify and create
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResult
constructor for a Real Name Verification (RNV) with all attributes.- Parameters:
aRnv
- Real Name Verification (RNV) object to verify and createaAuthInfo
- Authorization info for the RNV object
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Gets the EPP command Namespace associated withEPPNameVerificationInfoInputResult
.- Specified by:
getNamespace
in interfaceEPPCodecComponent
- Returns:
EPPNameVerificationMapFactory.NS
-
hasDnv
public boolean hasDnv()
Has the Domain Name Verification (DNV) object information been set?- Returns:
true
if the Domain Name Verification (DNV) object information has been set;false
otherwise.
-
getDnv
public EPPDomainNameVerification getDnv()
Gets the Domain Name Verification (DNV) object to verify and create.- Returns:
- The Domain Name Verification (DNV) object if defined;
null
otherwise.
-
setDnv
public void setDnv(EPPDomainNameVerification aDnv)
Sets the Domain Name Verification (DNV) object information to verify and create.- Parameters:
aDnv
- The Domain Name Verification (DNV) object ornull
to undefined it.
-
hasRnv
public boolean hasRnv()
Has the Real Name Verification (RNV) object information been set?- Returns:
true
if the Real Name Verification (RNV) object information has been set;false
otherwise.
-
getRnv
public EPPRealNameVerification getRnv()
Gets the Real Name Verification (RNV) object information to verify and create.- Returns:
- The Real Name Verification (RNV) object if defined;
null
otherwise.
-
setRnv
public void setRnv(EPPRealNameVerification aRnv)
Sets the Real Name Verification (RNV) object information to verify and create.- Parameters:
aRnv
- The Real Name Verification (RNV) object ornull
to undefined it.
-
hasAuthInfo
public boolean hasAuthInfo()
Has the authorization information for the Name Verification (NV) object been set?- Returns:
true
if the authorization information for the Name Verification (NV) object has been set;false
otherwise.
-
getAuthInfo
public EPPAuthInfo getAuthInfo()
Gets the authorization information for the Name Verification (NV) object.- Returns:
- Authorization information if defined;
null
otherwise.
-
setAuthInfo
public void setAuthInfo(EPPAuthInfo aAuthInfo)
Sets the authorization information for the Name Verification (NV) object.- Parameters:
aAuthInfo
- Authorization information of NV object
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
Encode a DOM Element tree from the attributes of theEPPNameVerificationInfoInputResult
instance.- Specified by:
encode
in interfaceEPPCodecComponent
- Parameters:
aDocument
- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationInfoInputResult
instance. - Throws:
EPPEncodeException
- Unable to encodeEPPNameVerificationInfoInputResult
instance.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
Decode theEPPNameVerificationInfoInputResult
attributes from the aElement DOM Element tree.- Specified by:
decode
in interfaceEPPCodecComponent
- Parameters:
aElement
- Root DOM Element to decodeEPPNameVerificationInfoInputResult
from.- Throws:
EPPDecodeException
- Unable to decode aElement
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationInfoInputResult
with this instance.- Overrides:
equals
in classjava.lang.Object
- Parameters:
aObject
- Object to compare with.- Returns:
true
if this object is the same as the aObject argument;false
otherwise.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
CloneEPPNameVerificationInfoInputResult
.- Specified by:
clone
in interfaceEPPCodecComponent
- Overrides:
clone
in classjava.lang.Object
- Returns:
- Deep copy clone of
EPPNameVerificationInfoInputResult
- Throws:
java.lang.CloneNotSupportedException
- standard Object.clone exception
-
toString
public java.lang.String toString()
Implementation ofObject.toString
, which will result in an indented XMLString
representation of the concreteEPPCodecComponent
.- Overrides:
toString
in classjava.lang.Object
- Returns:
- Indented XML
String
if successful;ERROR
otherwise.
-
-