public class EPPDomainCheckResp extends EPPResponse
EPPDomainCheckCmd. When a <check> command has been processed
successfully, the EPP <resData> element MUST contain a child
<domain:chkData> element that identifies the domain namespace and the
location of the domain schema. The <domain:chkData> elements that
contain the following child elements: EPPDomainCheckCmd,
EPPDomainCheckResult,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPDomainCheckResp. |
static java.lang.String |
ELM_NAME
XML Element Name of
EPPDomainCheckResp root element. |
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPDomainCheckResp()
EPPDomainCheckResp default constructor. |
EPPDomainCheckResp(EPPTransId aTransId)
EPPDomainCheckResp constructor that sets the transaction
identifier. |
EPPDomainCheckResp(EPPTransId aTransId,
EPPDomainCheckResult aResult)
EPPDomainCheckResp constructor that will set the result of an
individual domain. |
EPPDomainCheckResp(EPPTransId aTransId,
java.util.Vector someResults)
EPPDomainCheckResp constructor that will set the result of
multiple domains. |
| Modifier and Type | Method and Description |
|---|---|
void |
addResult(EPPDomainCheckResult aResult)
Adds a result to the list of check results.
|
java.lang.Object |
clone()
Clone
EPPDomainCheckResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPDomainCheckResp 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
EPPDomainCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDomainCheckResp with this instance. |
java.util.Vector |
getCheckResults()
Get the results of a
EPPDomainCheckResp Response. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPDomainCheckResp. |
java.lang.String |
getType()
Get the EPP response type associated with
EPPDomainCheckResp. |
void |
setCheckResults(java.util.Vector aResults)
Set the results of a
EPPDomainCheckResp 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
EPPDomainCheckResp.public static final java.lang.String ELM_NAME
EPPDomainCheckResp root element.public EPPDomainCheckResp()
EPPDomainCheckResp default constructor. It will set results
attribute to an empty Vector.public EPPDomainCheckResp(EPPTransId aTransId)
EPPDomainCheckResp constructor that sets the transaction
identifier.aTransId - Transaction Id associated with response.public EPPDomainCheckResp(EPPTransId aTransId, EPPDomainCheckResult aResult)
EPPDomainCheckResp constructor that will set the result of an
individual domain.aTransId - Transaction Id associated with response.aResult - Result of a single domain name.public EPPDomainCheckResp(EPPTransId aTransId, java.util.Vector someResults)
EPPDomainCheckResp constructor that will set the result of
multiple domains.aTransId - Transaction Id associated with response.someResults - Vector of EPPDomainCheckResult instances.public java.lang.String getType()
EPPDomainCheckResp.getType in class EPPResponsepublic java.lang.String getNamespace()
EPPDomainCheckResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPDomainMapFactory.NSpublic boolean equals(java.lang.Object aObject)
EPPDomainCheckResp 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
EPPDomainCheckResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPDomainCheckRespjava.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(EPPDomainCheckResult aResult)
aResult - Result to add.public void setCheckResults(java.util.Vector aResults)
EPPDomainCheckResp Response. There is one
EPPDomainCheckResult instance in someResults for each
domain requested in the EPPDomainCheckCmd Command.aResults - Vector of EPPDomainCheckResult instances.public java.util.Vector getCheckResults()
EPPDomainCheckResp Response. There is one
EPPDomainCheckResult instance in someResults for each
domain requested in the EPPDomainCheckResult Command.Vector of EPPDomainCheckResult instances.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPDomainCheckResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element factory.EPPDomainCheckResp instance.EPPEncodeException - Unable to encode EPPDomainCheckResp instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPDomainCheckResp attributes from the aElement DOM
Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode EPPDomainCheckResp from.EPPDecodeException - Unable to decode aElement