public class EPPRegistryCheckResp extends EPPResponse
EPPRegistryCheckCmd
. When a <check> command has been processed
successfully, the EPP <resData> element MUST contain a child
<registry:chkData> element that identifies the registry namespace and
the location of the registry schema. The <registry:chkData> elements
that contain the following child elements: EPPRegistryCheckCmd
,
EPPRegistryCheckResult
,
Serialized FormModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryCheckResp . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryCheckResp . |
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
Constructor and Description |
---|
EPPRegistryCheckResp()
EPPRegistryCheckResp default constructor. |
EPPRegistryCheckResp(EPPTransId aTransId,
EPPRegistryCheckResult aResult)
EPPRegistryCheckResp constructor that will set the result of an
individual zone object. |
EPPRegistryCheckResp(EPPTransId aTransId,
java.util.List aResults)
EPPRegistryCheckResp constructor that will set the result of
multiple zone objects. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryCheckResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryCheckResp 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
EPPRegistryCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryCheckResp with this instance. |
java.util.List<EPPRegistryCheckResult> |
getCheckResults()
Get the check results of zone objects.
|
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPRegistryCheckResp
. |
java.lang.String |
getType()
Get the EPP response type associated with
EPPRegistryCheckResp . |
void |
setCheckResults(java.util.List<EPPRegistryCheckResult> aResults)
Set the check results of zone objects.
|
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, setTransId
public static final java.lang.String ELM_LOCALNAME
EPPRegistryCheckResp
.public static final java.lang.String ELM_NAME
EPPRegistryCheckResp
.public EPPRegistryCheckResp()
EPPRegistryCheckResp
default constructor. It will set results
attribute to an empty List
.public EPPRegistryCheckResp(EPPTransId aTransId, EPPRegistryCheckResult aResult)
EPPRegistryCheckResp
constructor that will set the result of an
individual zone object.aTransId
- transaction Id associated with responseaResult
- EPPRegistryCheckResult
instance of a single registry
namepublic EPPRegistryCheckResp(EPPTransId aTransId, java.util.List aResults)
EPPRegistryCheckResp
constructor that will set the result of
multiple zone objects.aTransId
- transaction Id associated with responseaResults
- List
of EPPRegistryCheckResult
instancesprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryCheckResp
instance.doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element factory.EPPRegistryCheckResp
instance.EPPEncodeException
- Unable to encode EPPRegistryCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryCheckResp
attributes from the aElement DOM
Element tree.doDecode
in class EPPResponse
aElement
- Root DOM Element to decode EPPRegistryCheckResp
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.String getType()
EPPRegistryCheckResp
.getType
in class EPPResponse
EPPRegistryCheckResp.ELM_NAME
public java.lang.String getNamespace()
EPPRegistryCheckResp
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPRegistryMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPRegistryCheckResp
with this instance.equals
in class EPPResponse
aObject
- Object to compare with.true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryCheckResp
.clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPRegistryCheckResp
java.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 EPPResponse
String
if successful; ERROR
otherwise.public java.util.List<EPPRegistryCheckResult> getCheckResults()
List
of EPPRegistryCheckResult
public void setCheckResults(java.util.List<EPPRegistryCheckResult> aResults)
aResults
- List
of EPPRegistryCheckResult