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