|
||||||||||
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.domain.EPPDomainCheckResp
public class EPPDomainCheckResp
Represents an EPP Domain <domain:chkData> response to a
EPPDomainCheckCmd
. When a <check> command has been
processed successfully, the EPP <resData> element MUST contain a
child <domain:chkData> element that identifies the domain namespace
and the location of the domain schema. The <domain:chkData> elements
that contain the following child elements:
EPPDomainCheckCmd
,
EPPDomainCheckResult
,
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 | |
---|---|
EPPDomainCheckResp()
EPPDomainCheckResp default constructor. |
|
EPPDomainCheckResp(EPPTransId aTransId,
EPPDomainCheckResult aResult)
EPPDomainCheckResp constructor that will set the result of
an individual domain. |
|
EPPDomainCheckResp(EPPTransId aTransId,
java.util.Vector someResults)
EPPDomainCheckResp constructor that will set the result of
multiple domains. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPDomainCheckResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the EPPDomainCheckResp 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 EPPDomainCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of EPPDomainCheckResp with this
instance. |
java.util.Vector |
getCheckResults()
Get the results of a EPPDomainCheckResp Response. |
java.lang.String |
getNamespace()
Get the EPP command Namespace associated with EPPDomainCheckResp . |
java.lang.String |
getType()
Get the EPP response type associated with EPPDomainCheckResp . |
void |
setCheckResults(java.util.Vector someResults)
Set the results of a EPPDomainCheckResp 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 EPPDomainCheckResp()
EPPDomainCheckResp
default constructor. It will set
results attribute to an empty Vector
.
public EPPDomainCheckResp(EPPTransId aTransId, EPPDomainCheckResult aResult)
EPPDomainCheckResp
constructor that will set the result of
an individual domain.
aTransId
- Transaction Id associated with response.aResult
- Result of a single domain name.public EPPDomainCheckResp(EPPTransId aTransId, java.util.Vector someResults)
EPPDomainCheckResp
constructor that will set the result of
multiple domains.
aTransId
- Transaction Id associated with response.someResults
- Vector of EPPDomainCheckResult instances.Method Detail |
---|
public java.lang.String getType()
EPPDomainCheckResp
.
getType
in class EPPResponse
public java.lang.String getNamespace()
EPPDomainCheckResp
.
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPDomainMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPDomainCheckResp
with this
instance.
equals
in class EPPResponse
aObject
- Object to compare with.
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPDomainCheckResp
.
clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPDomainCheckResp
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)
EPPDomainCheckResp
Response. There is
one EPPDomainCheckResult
instance in
someResults
for each domain requested in the
EPPDomainCheckCmd
Command.
someResults
- Vector of EPPDomainCheckResult
instances.public java.util.Vector getCheckResults()
EPPDomainCheckResp
Response. There is
one EPPDomainCheckResult
instance in
someResults
for each domain requested in the
EPPDomainCheckResult
Command.
EPPDomainCheckResult
instances.protected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPDomainCheckResp
instance.
doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element
factory.
EPPDomainCheckResp
instance.
EPPEncodeException
- Unable to encode
EPPDomainCheckResp
instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPDomainCheckResp
attributes from the aElement
DOM Element tree.
doDecode
in class EPPResponse
aElement
- Root DOM Element to decode
EPPDomainCheckResp
from.
EPPDecodeException
- Unable to decode aElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |