public class EPPValidateCheckResp extends EPPResponse
EPPValidateCheckCmd that indicates
whether or not the contacts are valid for the referenced contact type
and TLD.EPPValidateCheckCmd,
EPPValidateCheckResult,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the name verification check response
|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPValidateCheckResp()
EPPValidateCheckResp default constructor. |
EPPValidateCheckResp(EPPTransId aTransId)
EPPValidateCheckResp constructor that sets the
transaction identifier. |
EPPValidateCheckResp(EPPTransId aTransId,
EPPValidateCheckResult aResult)
EPPValidateCheckResp constructor that will set the
result of an individual result. |
EPPValidateCheckResp(EPPTransId aTransId,
java.util.List<EPPValidateCheckResult> aResults)
EPPValidateCheckResp constructor that will set the
result of multiple results. |
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(EPPValidateCheckResult aResult)
Adds a result to the list of check results.
|
java.lang.Object |
clone()
Clone
EPPValidateCheckResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPValidateCheckResp attributes from the
aElement DOM Element tree. |
protected org.w3c.dom.Element |
doEncode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPValidateCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPValidateCheckResp with
this instance. |
java.util.List<EPPValidateCheckResult> |
getCheckResults()
Get the results of a
EPPValidateCheckResp Response. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPValidateCheckResp. |
java.lang.String |
getType()
Get the EPP response type associated with
EPPValidateCheckResp. |
void |
setCheckResults(java.util.List<EPPValidateCheckResult> aResults)
Set the results of a
EPPValidateCheckResp Response. |
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
addExtension, decode, encode, findDuplicateExtNamespaces, 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, setTransIdpublic static final java.lang.String ELM_LOCALNAME
public EPPValidateCheckResp()
EPPValidateCheckResp default constructor.public EPPValidateCheckResp(EPPTransId aTransId)
EPPValidateCheckResp constructor that sets the
transaction identifier.aTransId - Transaction Id associated with response.public EPPValidateCheckResp(EPPTransId aTransId, EPPValidateCheckResult aResult)
EPPValidateCheckResp constructor that will set the
result of an individual result.aTransId - Transaction Id associated with response.aResult - Result of a single label.public EPPValidateCheckResp(EPPTransId aTransId, java.util.List<EPPValidateCheckResult> aResults)
EPPValidateCheckResp constructor that will set the
result of multiple results.aTransId - Transaction Id associated with response.aResults - List of EPPValidateCheckResult instances.public java.lang.String getType()
EPPValidateCheckResp.getType in class EPPResponsepublic java.lang.String getNamespace()
EPPValidateCheckResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPValidateMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPValidateCheckResp with
this instance.equals in class EPPResponseaObject - Object to compare with.true if equal; false otherwise.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPValidateCheckResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPValidateCheckRespjava.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 EPPResponseString if successful;
ERROR otherwise.public void addResult(EPPValidateCheckResult aResult)
aResult - Result to add.public void setCheckResults(java.util.List<EPPValidateCheckResult> aResults)
EPPValidateCheckResp Response.
There is one EPPValidateCheckResult instance in
aResults for each contact requested in the
EPPValidateCheckCmd Command.aResults - List of EPPValidateCheckResult instances.public java.util.List<EPPValidateCheckResult> getCheckResults()
EPPValidateCheckResp Response.EPPValidateCheckResult instances.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPValidateCheckResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.EPPValidateCheckResp instance.EPPEncodeException - Unable to encode EPPValidateCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPValidateCheckResp attributes from the
aElement DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPValidateCheckResp from.EPPDecodeException - Unable to decode aElement