public class EPPDefRegCheckResp extends EPPResponse
EPPDefRegFwdCheckCmd
. When a <check> command has
been processed successfully, the EPP <resData> element MUST contain a
child <defReg:chkData> element that identifies the defReg namespace
and the location of the defReg schema. The <defReg:chkData> elements
that contain the following child elements: EPPDefRegCheckCmd
,
EPPDefRegCheckResult
,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
Constructor and Description |
---|
EPPDefRegCheckResp()
EPPDefRegFwdCheckResp default constructor. |
EPPDefRegCheckResp(EPPTransId aTransId,
EPPDefRegCheckResult aResult)
EPPDefRegFwdCheckResp constructor that will set the result
of an individual defReg. |
EPPDefRegCheckResp(EPPTransId aTransId,
java.util.Vector someResults)
EPPDefRegFwdCheckResp constructor that will set the result
of multiple defRegs. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPDefRegFwdCheckResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPDefRegFwdCheckResp 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
EPPDefRegFwdCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPDefRegFwdCheckResp with this
instance. |
java.util.Vector |
getCheckResults()
Get the results of a
EPPDefRegFwdCheckResp Response. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with
EPPDefRegFwdCheckResp . |
java.lang.String |
getType()
Get the EPP response type associated with
EPPDefRegFwdCheckResp . |
void |
setCheckResults(java.util.Vector someResults)
Set the results of a
EPPDefRegFwdCheckResp 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, setTransId
public EPPDefRegCheckResp()
EPPDefRegFwdCheckResp
default constructor. It will set
results attribute to an empty Vector
.public EPPDefRegCheckResp(EPPTransId aTransId, EPPDefRegCheckResult aResult)
EPPDefRegFwdCheckResp
constructor that will set the result
of an individual defReg.aTransId
- Transaction Id associated with response.aResult
- EPPDefRegCheckResult results.public EPPDefRegCheckResp(EPPTransId aTransId, java.util.Vector someResults)
EPPDefRegFwdCheckResp
constructor that will set the result
of multiple defRegs.aTransId
- Transaction Id associated with response.someResults
- Vector of EPPDefRegFwdCheckResult instances.public java.lang.String getType()
EPPDefRegFwdCheckResp
.getType
in class EPPResponse
public java.lang.String getNamespace()
EPPDefRegFwdCheckResp
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPDefRegFwdMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPDefRegFwdCheckResp
with this
instance.equals
in class EPPResponse
aObject
- Object to compare with.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPDefRegFwdCheckResp
.clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPDefRegFwdCheckResp
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 void setCheckResults(java.util.Vector someResults)
EPPDefRegFwdCheckResp
Response. There
is one EPPDefRegFwdCheckResult
instance in
someResults
for each defReg requested in the
EPPDefRegFwdCheckCmd
Command.someResults
- Vector of EPPDefRegFwdCheckResult
instances.public java.util.Vector getCheckResults()
EPPDefRegFwdCheckResp
Response. There
is one EPPDefRegFwdCheckResult
instance in
someResults
for each defReg requested in the
EPPDefRegFwdCheckResult
Command.EPPDefRegFwdCheckResult
instances.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPDefRegFwdCheckResp
instance.doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element
factory.EPPDefRegFwdCheckResp
instance. defRegEPPEncodeException
- Unable to encode
EPPDefRegFwdCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPDefRegFwdCheckResp
attributes from the
aElement DOM Element tree.doDecode
in class EPPResponse
aElement
- Root DOM Element to decode
EPPDefRegFwdCheckResp
from.EPPDecodeException
- Unable to decode aElementCopyright © VeriSign Inc. All Rights Reserved.