public class EPPNameVerificationCheckResp extends EPPResponse
EPPNameVerificationCheckCmd that indicates
whether or not the labels can be used to create a Domain Name Verification
(DNV) object.| 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 |
|---|
EPPNameVerificationCheckResp()
EPPNameVerificationCheckResp default constructor. |
EPPNameVerificationCheckResp(EPPTransId aTransId)
EPPNameVerificationCheckResp constructor that sets the
transaction identifier. |
EPPNameVerificationCheckResp(EPPTransId aTransId,
EPPNameVerificationCheckResult aResult)
EPPNameVerificationCheckResp constructor that will set the
result of an individual label. |
EPPNameVerificationCheckResp(EPPTransId aTransId,
java.util.List<EPPNameVerificationCheckResult> aResults)
EPPNameVerificationCheckResp constructor that will set the
result of multiple labels. |
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(EPPNameVerificationCheckResult aResult)
Adds a result to the list of check results.
|
java.lang.Object |
clone()
Clone
EPPNameVerificationCheckResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPNameVerificationCheckResp 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
EPPNameVerificationCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPNameVerificationCheckResp with
this instance. |
java.util.List<EPPNameVerificationCheckResult> |
getCheckResults()
Get the results of a
EPPNameVerificationCheckResp Response. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPNameVerificationCheckResp. |
java.lang.String |
getType()
Get the EPP response type associated with
EPPNameVerificationCheckResp. |
void |
setCheckResults(java.util.List<EPPNameVerificationCheckResult> aResults)
Set the results of a
EPPNameVerificationCheckResp 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 EPPNameVerificationCheckResp()
EPPNameVerificationCheckResp default constructor.public EPPNameVerificationCheckResp(EPPTransId aTransId)
EPPNameVerificationCheckResp constructor that sets the
transaction identifier.aTransId - Transaction Id associated with response.public EPPNameVerificationCheckResp(EPPTransId aTransId, EPPNameVerificationCheckResult aResult)
EPPNameVerificationCheckResp constructor that will set the
result of an individual label.aTransId - Transaction Id associated with response.aResult - Result of a single label.public EPPNameVerificationCheckResp(EPPTransId aTransId, java.util.List<EPPNameVerificationCheckResult> aResults)
EPPNameVerificationCheckResp constructor that will set the
result of multiple labels.aTransId - Transaction Id associated with response.aResults - List of EPPNameVerificationCheckResult instances.public java.lang.String getType()
EPPNameVerificationCheckResp.getType in class EPPResponsepublic java.lang.String getNamespace()
EPPNameVerificationCheckResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPNameVerificationMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPNameVerificationCheckResp 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
EPPNameVerificationCheckResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPNameVerificationCheckRespjava.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(EPPNameVerificationCheckResult aResult)
aResult - Result to add.public void setCheckResults(java.util.List<EPPNameVerificationCheckResult> aResults)
EPPNameVerificationCheckResp Response.
There is one EPPNameVerificationCheckResult instance in
aResults for each label requested in the
EPPNameVerificationCheckCmd Command.aResults - List of EPPNameVerificationCheckResult instances.public java.util.List<EPPNameVerificationCheckResult> getCheckResults()
EPPNameVerificationCheckResp Response.EPPNameVerificationCheckResult instances.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPNameVerificationCheckResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.EPPNameVerificationCheckResp instance.EPPEncodeException - Unable to encode EPPNameVerificationCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPNameVerificationCheckResp attributes from the
aElement DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode
EPPNameVerificationCheckResp from.EPPDecodeException - Unable to decode aElement