public class EPPRegistryInfoResp extends EPPResponse
EPPRegistryInfoCmd
. When an <info> command has been
processed successfully, the EPP <resData> element MUST contain a child
<registry:infData> element that identifies the registry namespace and
the location of the registry schema. EPPRegistryInfoCmd
,
EPPRegistryZoneList
,
EPPRegistryZone
,
EPPRegistryZoneInfo
,
Serialized Formextensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED
Constructor and Description |
---|
EPPRegistryInfoResp()
EPPRegistryInfoResp default constructor. |
EPPRegistryInfoResp(EPPTransId transId,
EPPRegistryZoneInfo zoneInfo)
Create a
EPPRegistryInfoResp instance with a set of zone summary
attributes. |
EPPRegistryInfoResp(EPPTransId transId,
EPPRegistryZoneList zoneList)
Create a
EPPRegistryInfoResp instance with a set of zone summary
attributes. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPRegistryInfoResp . |
protected void |
doDecode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryInfoResp 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
EPPRegistryInfoResp instance. |
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPRegistryInfoResp with this
instance. |
java.lang.String |
getNamespace()
Gets the EPP command namespace associated with
EPPRegistryInfoResp . |
java.lang.String |
getType()
Gets the EPP response type associated with
EPPRegistryInfoResp . |
EPPRegistryZoneInfo |
getZoneInfo() |
EPPRegistryZoneList |
getZoneList() |
void |
setZoneInfo(EPPRegistryZoneInfo zoneInfo) |
void |
setZoneList(EPPRegistryZoneList zoneList) |
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 EPPRegistryInfoResp()
EPPRegistryInfoResp
default constructor. Must call either
setZoneList
or setZoneInfo
setter methods before invoking
encode
.public EPPRegistryInfoResp(EPPTransId transId, EPPRegistryZoneList zoneList)
EPPRegistryInfoResp
instance with a set of zone summary
attributes. Use this to construct response to command
EPPRegistryInfoCmd
with all
set to true
.transId
- transaction Id associated with responsezoneList
- object containing a list of zone summary attributespublic EPPRegistryInfoResp(EPPTransId transId, EPPRegistryZoneInfo zoneInfo)
EPPRegistryInfoResp
instance with a set of zone summary
attributes. Use this to construct response to command
EPPRegistryInfoCmd
with all
set to false
.transId
- transaction Id associated with responsezoneInfo
- object containing detailed zone infoprotected org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryInfoResp
instance.doEncode
in class EPPResponse
aDocument
- DOM Document that is being built. Used as an Element factory.EPPEncodeException
- Unable to encode EPPRegistryInfoResp instance.protected void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryInfoResp
attributes from the aElement
DOM Element tree.doDecode
in class EPPResponse
aElement
- Root DOM Element to decode EPPRegistryInfoResp
from.EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryInfoResp
.clone
in interface EPPCodecComponent
clone
in class EPPResponse
EPPRegistryInfoResp
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String getType()
EPPRegistryInfoResp
.getType
in class EPPResponse
EPPRegistryInfoResp.ELM_NAME
public java.lang.String getNamespace()
EPPRegistryInfoResp
.getNamespace
in interface EPPCodecComponent
getNamespace
in interface EPPMessage
getNamespace
in class EPPResponse
EPPRegistryMapFactory.NS
public boolean equals(java.lang.Object aObject)
EPPRegistryInfoResp
with this
instance.equals
in class EPPResponse
aObject
- Object to compare with.true
if this object is the same as the aObject argument;
false
otherwisepublic 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 EPPRegistryZoneList getZoneList()
public void setZoneList(EPPRegistryZoneList zoneList)
public EPPRegistryZoneInfo getZoneInfo()
public void setZoneInfo(EPPRegistryZoneInfo zoneInfo)
Copyright © VeriSign Inc. All Rights Reserved.