public class EPPHostCheckResp extends EPPResponse
EPPHostCheckCmd. When a <check> command has been
processed successfully, the EPP <resData> element MUST contain a
child <host:chkData> element that identifies the host namespace and
the location of the host schema. The <host:chkData> element contains
one or more <host:cd> elements that contain the following child
elements: getCheckResults and
setCheckResults to get and set the elements.
EPPHostCheckCmd,
EPPHostCheckResult,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED| Constructor and Description |
|---|
EPPHostCheckResp()
EPPHostCheckResp default constructor. |
EPPHostCheckResp(EPPTransId aTransId,
EPPHostCheckResult aResult)
EPPHostCheckResp constructor that will set the result of an
individual host. |
EPPHostCheckResp(EPPTransId aTransId,
java.util.Vector someResults)
EPPHostCheckResp constructor that will set the result of
multiple hosts. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPHostCheckResp. |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPHostCheckResp 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
EPPHostCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPHostCheckResp with this instance. |
java.util.Vector |
getCheckResults()
Get the results of a EPPHostCheckResp Response.
|
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPHostCheckResp. |
java.lang.String |
getType()
Get the EPP response type associated with
EPPHostCheckResp. |
void |
setCheckResults(java.util.Vector someResults)
Set the results of a
EPPHostCheckResp 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, 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 EPPHostCheckResp()
EPPHostCheckResp default constructor. It will set results
attribute to an empty Vector.public EPPHostCheckResp(EPPTransId aTransId, EPPHostCheckResult aResult)
EPPHostCheckResp constructor that will set the result of an
individual host.aTransId - Transaction Id associated with response.aResult - Result of a single host name.public EPPHostCheckResp(EPPTransId aTransId, java.util.Vector someResults)
EPPHostCheckResp constructor that will set the result of
multiple hosts.aTransId - Transaction Id associated with response.someResults - Vector of EPPCheckHostResult instances.public java.lang.String getType()
EPPHostCheckResp.getType in class EPPResponsepublic java.lang.String getNamespace()
EPPHostCheckResp.getNamespace in interface EPPCodecComponentgetNamespace in interface EPPMessagegetNamespace in class EPPResponseEPPHostMapFactory.NSprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPHostCheckResp instance.doEncode in class EPPResponseaDocument - DOM Document that is being built. Used as an Element
factory.EPPHostCheckResp instance.EPPEncodeException - Unable to encode
EPPHostCheckResp instance.protected void doDecode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPHostCheckResp attributes from the aElement
DOM Element tree.doDecode in class EPPResponseaElement - Root DOM Element to decode EPPHostCheckResp
from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPHostCheckResp with this instance.equals in class EPPResponseaObject - Object to compare with.public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPHostCheckResp.clone in interface EPPCodecComponentclone in class EPPResponseEPPHostCheckRespjava.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 setCheckResults(java.util.Vector someResults)
EPPHostCheckResp Response. There is
one EPPCheckHostResult instance in
someResults for each host requested in the
EPPHostCheckCmd Command.someResults - Vector of EPPCheckHostResult instances.public java.util.Vector getCheckResults()
EPPCheckHostResult instance in someResults
for each host requested in the EPPCheckHostResult
Command.EPPHostResult instances.Copyright © VeriSign Inc. All Rights Reserved.