Class EPPValidateCheckResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.validate.v02.EPPValidateCheckResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Provides the response to a
EPPValidateCheckCmd that indicates whether
or not the contacts are valid for the referenced contact type and TLD.- 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
ConstructorsConstructorDescriptionEPPValidateCheckRespdefault constructor.EPPValidateCheckResp(EPPTransId aTransId) EPPValidateCheckRespconstructor that sets the transaction identifier.EPPValidateCheckResp(EPPTransId aTransId, EPPValidateCheckResult aResult) EPPValidateCheckRespconstructor that will set the result of an individual result.EPPValidateCheckResp(EPPTransId aTransId, List<EPPValidateCheckResult> aResults) EPPValidateCheckRespconstructor that will set the result of multiple results. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddResult(EPPValidateCheckResult aResult) Adds a result to the list of check results.clone()CloneEPPValidateCheckResp.protected voidDecode theEPPValidateCheckRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPValidateCheckRespinstance.booleanCompare an instance ofEPPValidateCheckRespwith this instance.Get the results of aEPPValidateCheckRespResponse.Get the EPP command Namespace associated withEPPValidateCheckResp.getType()Get the EPP response type associated withEPPValidateCheckResp.voidsetCheckResults(List<EPPValidateCheckResult> aResults) Set the results of aEPPValidateCheckRespResponse.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
-
EPPValidateCheckResp
public EPPValidateCheckResp()EPPValidateCheckRespdefault constructor. -
EPPValidateCheckResp
EPPValidateCheckRespconstructor that sets the transaction identifier.- Parameters:
aTransId- Transaction Id associated with response.
-
EPPValidateCheckResp
EPPValidateCheckRespconstructor that will set the result of an individual result.- Parameters:
aTransId- Transaction Id associated with response.aResult- Result of a single label.
-
EPPValidateCheckResp
EPPValidateCheckRespconstructor that will set the result of multiple results.- Parameters:
aTransId- Transaction Id associated with response.aResults- List ofEPPValidateCheckResultinstances.
-
-
Method Details
-
getType
Get the EPP response type associated withEPPValidateCheckResp.- Overrides:
getTypein classEPPResponse- Returns:
- EPPValidateCheckResp.ELM_NAME
-
getNamespace
Get the EPP command Namespace associated withEPPValidateCheckResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPValidateMapFactory.NS
-
equals
Compare an instance ofEPPValidateCheckRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
CloneEPPValidateCheckResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPValidateCheckResp - 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 aEPPValidateCheckRespResponse. There is oneEPPValidateCheckResultinstance inaResultsfor each contact requested in theEPPValidateCheckCmdCommand.- Parameters:
aResults- List ofEPPValidateCheckResultinstances.
-
getCheckResults
Get the results of aEPPValidateCheckRespResponse.- Returns:
- List of
EPPValidateCheckResultinstances.
-
doEncode
Encode a DOM Element tree from the attributes of theEPPValidateCheckRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPValidateCheckRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPValidateCheckRespinstance.
-
doDecode
Decode theEPPValidateCheckRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPValidateCheckRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-