Package com.verisign.epp.codec.nv
Class EPPNameVerificationCheckResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.nv.EPPNameVerificationCheckResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Provides the response to a
EPPNameVerificationCheckCmd that indicates
whether or not the labels can be used to create a Domain Name Verification
(DNV) object.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConstant for the name verification check responseFields inherited from class com.verisign.epp.codec.gen.EPPResponse
ELM_EXTENSION, ELM_MESSAGE_QUEUE, ELM_MESSAGE_QUEUE_QDATE, ELM_RESPONSE_DATA, extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED -
Constructor Summary
ConstructorsConstructorDescriptionEPPNameVerificationCheckRespdefault constructor.EPPNameVerificationCheckResp(EPPTransId aTransId) EPPNameVerificationCheckRespconstructor that sets the transaction identifier.EPPNameVerificationCheckResp(EPPTransId aTransId, EPPNameVerificationCheckResult aResult) EPPNameVerificationCheckRespconstructor that will set the result of an individual label.EPPNameVerificationCheckResp(EPPTransId aTransId, List<EPPNameVerificationCheckResult> aResults) EPPNameVerificationCheckRespconstructor that will set the result of multiple labels. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(EPPNameVerificationCheckResult aResult) Adds a result to the list of check results.clone()CloneEPPNameVerificationCheckResp.protected voidDecode theEPPNameVerificationCheckRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPNameVerificationCheckRespinstance.booleanCompare an instance ofEPPNameVerificationCheckRespwith this instance.Get the results of aEPPNameVerificationCheckRespResponse.Get the EPP command Namespace associated withEPPNameVerificationCheckResp.getType()Get the EPP response type associated withEPPNameVerificationCheckResp.voidsetCheckResults(List<EPPNameVerificationCheckResult> aResults) Set the results of aEPPNameVerificationCheckRespResponse.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPResponse
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId
-
Field Details
-
ELM_LOCALNAME
Constant for the name verification check response- See Also:
-
-
Constructor Details
-
EPPNameVerificationCheckResp
public EPPNameVerificationCheckResp()EPPNameVerificationCheckRespdefault constructor. -
EPPNameVerificationCheckResp
EPPNameVerificationCheckRespconstructor that sets the transaction identifier.- Parameters:
aTransId- Transaction Id associated with response.
-
EPPNameVerificationCheckResp
EPPNameVerificationCheckRespconstructor that will set the result of an individual label.- Parameters:
aTransId- Transaction Id associated with response.aResult- Result of a single label.
-
EPPNameVerificationCheckResp
public EPPNameVerificationCheckResp(EPPTransId aTransId, List<EPPNameVerificationCheckResult> aResults) EPPNameVerificationCheckRespconstructor that will set the result of multiple labels.- Parameters:
aTransId- Transaction Id associated with response.aResults- List ofEPPNameVerificationCheckResultinstances.
-
-
Method Details
-
getType
Get the EPP response type associated withEPPNameVerificationCheckResp.- Overrides:
getTypein classEPPResponse- Returns:
- EPPNameVerificationCheckResp.ELM_NAME
-
getNamespace
Get the EPP command Namespace associated withEPPNameVerificationCheckResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPNameVerificationMapFactory.NS
-
equals
Compare an instance ofEPPNameVerificationCheckRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
CloneEPPNameVerificationCheckResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPNameVerificationCheckResp - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
addResult
Adds a result to the list of check results.- Parameters:
aResult- Result to add.
-
setCheckResults
Set the results of aEPPNameVerificationCheckRespResponse. There is oneEPPNameVerificationCheckResultinstance inaResultsfor each label requested in theEPPNameVerificationCheckCmdCommand.- Parameters:
aResults- List ofEPPNameVerificationCheckResultinstances.
-
getCheckResults
Get the results of aEPPNameVerificationCheckRespResponse.- Returns:
- List of
EPPNameVerificationCheckResultinstances.
-
doEncode
Encode a DOM Element tree from the attributes of theEPPNameVerificationCheckRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPNameVerificationCheckRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPNameVerificationCheckRespinstance.
-
doDecode
Decode theEPPNameVerificationCheckRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPNameVerificationCheckRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-