public class EPPPremiumDomainCheckResp extends java.lang.Object implements EPPCodecComponent
EPPDomainCheckCmd
. When a <check> command has been
processed successfully, the EPP response may contain a child <premiumdomain:chkData>
extension element that identifies the premium domain namespace and the location of the
premium domain schema. The <premiumdomain:chkData> elements contains one or more
<premiumdomain:cd> elements that contain the following child elements: Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_NAME
XML tag name of
EPPPremiumDomainCheckResp root element |
Constructor and Description |
---|
EPPPremiumDomainCheckResp()
EPPPremiumDomainCheckResp default constructor. |
EPPPremiumDomainCheckResp(EPPPremiumDomainCheckResult aResult)
EPPPremiumDomainCheckResp constructor that will set the
result of an individual domain. |
EPPPremiumDomainCheckResp(java.util.Vector aResults)
EPPPremiumDomainCheckResp constructor that will set the
result of multiple domains. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPPremiumDomainCheckResp . |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPPremiumDomainCheckResp attributes from the
aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the
EPPPremiumDomainCheckResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPPremiumDomainCheckResp with this
instance. |
java.util.Vector |
getCheckResults()
Get the results of a
EPPPremiumDomainCheckResp Response. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
void |
setCheckResults(java.util.Vector aResults)
Set the results of a
EPPPremiumDomainCheckResp Response. |
public static final java.lang.String ELM_NAME
EPPPremiumDomainCheckResp
root elementpublic EPPPremiumDomainCheckResp()
EPPPremiumDomainCheckResp
default constructor. It will set
results attribute to an empty Vector
.public EPPPremiumDomainCheckResp(EPPPremiumDomainCheckResult aResult)
EPPPremiumDomainCheckResp
constructor that will set the
result of an individual domain.aResult
- Result of a single premium domain namepublic EPPPremiumDomainCheckResp(java.util.Vector aResults)
EPPPremiumDomainCheckResp
constructor that will set the
result of multiple domains.aResults
- Results Vector of EPPDomainCheckResult instances.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPPremiumDomainCheckResp
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPPremiumDomainCheckResp
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPPremiumDomainCheckResp
instance.encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being builtEPPPremiumDomainCheckResp
instance.EPPEncodeException
- On encoding errorpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPPremiumDomainCheckResp
attributes from the
aElement
DOM Element tree.decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPPremiumDomainCheckResp
from.EPPDecodeException
- Unable to decode aElement
public boolean equals(java.lang.Object aObject)
EPPPremiumDomainCheckResp
with this
instance.equals
in class java.lang.Object
aObject
- Object to compare with.public void setCheckResults(java.util.Vector aResults)
EPPPremiumDomainCheckResp
Response.
There is one EPPPremiumDomainCheckResult
instance in
aResults
for each domain requested in the
EPPDomainCheckCmd
Command.aResults
- Vector of EPPPremiumDomainCheckResult
instances.public java.util.Vector getCheckResults()
EPPPremiumDomainCheckResp
Response.
There is one EPPPremiumDomainCheckResult
instance in
someResults
for each domain requested in the
EPPPremiumDomainCheckResult
Command.EPPPremiumDomainCheckResult
instances.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.