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