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 theEPPNameVerificationInfoCmdtype is set toEPPNameVerificationInfoCmd.Type.INPUT.- See Also:
EPPNameVerificationInfoCmd, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPNameVerificationInfoInputResult.static java.lang.StringELM_NAMEXML root tag forEPPNameVerificationInfoInputResult.
-
Constructor Summary
Constructors Constructor Description EPPNameVerificationInfoInputResult()EPPNameVerificationInfoInputResultdefault constructor.EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)EPPNameVerificationInfoInputResultconstructor for a Domain Name Verification (DNV).EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)EPPNameVerificationInfoInputResultconstructor for a Domain Name Verification (DNV) with all attributes.EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv)EPPNameVerificationInfoInputResultconstructor for a Real Name Verification (RNV).EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)EPPNameVerificationInfoInputResultconstructor for a Real Name Verification (RNV) with all attributes.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPNameVerificationInfoInputResult.voiddecode(org.w3c.dom.Element aElement)Decode theEPPNameVerificationInfoInputResultattributes from the aElement DOM Element tree.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPNameVerificationInfoInputResultinstance.booleanequals(java.lang.Object aObject)Compare an instance ofEPPNameVerificationInfoInputResultwith this instance.EPPAuthInfogetAuthInfo()Gets the authorization information for the Name Verification (NV) object.EPPDomainNameVerificationgetDnv()Gets the Domain Name Verification (DNV) object to verify and create.java.lang.StringgetNamespace()Gets the EPP command Namespace associated withEPPNameVerificationInfoInputResult.EPPRealNameVerificationgetRnv()Gets the Real Name Verification (RNV) object information to verify and create.booleanhasAuthInfo()Has the authorization information for the Name Verification (NV) object been set?booleanhasDnv()Has the Domain Name Verification (DNV) object information been set?booleanhasRnv()Has the Real Name Verification (RNV) object information been set?voidsetAuthInfo(EPPAuthInfo aAuthInfo)Sets the authorization information for the Name Verification (NV) object.voidsetDnv(EPPDomainNameVerification aDnv)Sets the Domain Name Verification (DNV) object information to verify and create.voidsetRnv(EPPRealNameVerification aRnv)Sets the Real Name Verification (RNV) object information to verify and create.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation 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()
EPPNameVerificationInfoInputResultdefault constructor.
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv)
EPPNameVerificationInfoInputResultconstructor for a Domain Name Verification (DNV).- Parameters:
aDnv- Domain Name Verification (DNV) object to verify and create
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPDomainNameVerification aDnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResultconstructor 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)
EPPNameVerificationInfoInputResultconstructor for a Real Name Verification (RNV).- Parameters:
aRnv- Real Name Verification (RNV) object to verify and create
-
EPPNameVerificationInfoInputResult
public EPPNameVerificationInfoInputResult(EPPRealNameVerification aRnv, EPPAuthInfo aAuthInfo)
EPPNameVerificationInfoInputResultconstructor 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:
getNamespacein interfaceEPPCodecComponent- Returns:
EPPNameVerificationMapFactory.NS
-
hasDnv
public boolean hasDnv()
Has the Domain Name Verification (DNV) object information been set?- Returns:
trueif the Domain Name Verification (DNV) object information has been set;falseotherwise.
-
getDnv
public EPPDomainNameVerification getDnv()
Gets the Domain Name Verification (DNV) object to verify and create.- Returns:
- The Domain Name Verification (DNV) object if defined;
nullotherwise.
-
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 ornullto undefined it.
-
hasRnv
public boolean hasRnv()
Has the Real Name Verification (RNV) object information been set?- Returns:
trueif the Real Name Verification (RNV) object information has been set;falseotherwise.
-
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;
nullotherwise.
-
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 ornullto undefined it.
-
hasAuthInfo
public boolean hasAuthInfo()
Has the authorization information for the Name Verification (NV) object been set?- Returns:
trueif the authorization information for the Name Verification (NV) object has been set;falseotherwise.
-
getAuthInfo
public EPPAuthInfo getAuthInfo()
Gets the authorization information for the Name Verification (NV) object.- Returns:
- Authorization information if defined;
nullotherwise.
-
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 EPPEncodeExceptionEncode a DOM Element tree from the attributes of theEPPNameVerificationInfoInputResultinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationInfoInputResultinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationInfoInputResultinstance.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPNameVerificationInfoInputResultattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationInfoInputResultfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
public boolean equals(java.lang.Object aObject)
Compare an instance ofEPPNameVerificationInfoInputResultwith this instance.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise.
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPNameVerificationInfoInputResult.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein 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 XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
-