|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.defReg.EPPDefRegCheckResp
public class EPPDefRegCheckResp
Represents an EPPDefReg <defReg:chkData> response to a
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 FormField Summary |
---|
Fields inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
Methods inherited from class com.verisign.epp.codec.gen.EPPResponse |
---|
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 |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
public java.lang.String getType()
EPPDefRegFwdCheckResp
.
getType
in class EPPResponse
public java.lang.String getNamespace()
EPPDefRegFwdCheckResp
.
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. defReg
EPPEncodeException
- 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 aElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |