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. Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryInfoResp . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryInfoResp . |
extensions, 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 aTransId,
EPPRegistrySystemInfo aSystemInfo)
Create a
EPPRegistryInfoResp instance with system detailed
information. |
EPPRegistryInfoResp(EPPTransId aTransId,
EPPRegistryZoneData aZoneInfo)
Create a
EPPRegistryInfoResp instance with zone detailed
information. |
EPPRegistryInfoResp(EPPTransId aTransId,
EPPRegistryZoneList aZoneList)
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
. |
EPPRegistrySystemInfo |
getSystemInfo()
Gets the system information.
|
java.lang.String |
getType()
Gets the EPP response type associated with
EPPRegistryInfoResp . |
EPPRegistryZoneData |
getZoneInfo()
Gets the zone information.
|
EPPRegistryZoneList |
getZoneList()
Gets the zone list.
|
boolean |
hasSystemInfo()
Is the system info set?
|
boolean |
hasZoneInfo()
Is the zone info set?
|
boolean |
hasZoneList()
Is the zone list set?
|
void |
setSystemInfo(EPPRegistrySystemInfo aSystemInfo)
Sets the system information.
|
void |
setZoneInfo(EPPRegistryZoneData aZoneInfo)
Sets the zone information.
|
void |
setZoneList(EPPRegistryZoneList aZoneList)
Sets the zone list.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
addExtension, decode, encode, findDuplicateExtNamespaces, 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 static final java.lang.String ELM_LOCALNAME
EPPRegistryInfoResp
.public static final java.lang.String ELM_NAME
EPPRegistryInfoResp
.public EPPRegistryInfoResp()
EPPRegistryInfoResp
default constructor. Must call either
setZoneList
, setZoneInfo
, or setSystemInfo
setter
methods before invoking encode
.public EPPRegistryInfoResp(EPPTransId aTransId, EPPRegistryZoneList aZoneList)
EPPRegistryInfoResp
instance with a set of zone summary
attributes.aTransId
- transaction Id associated with responseaZoneList
- object containing a list of zone summary attributespublic EPPRegistryInfoResp(EPPTransId aTransId, EPPRegistryZoneData aZoneInfo)
EPPRegistryInfoResp
instance with zone detailed
information.aTransId
- transaction Id associated with responseaZoneInfo
- object containing detailed zone infopublic EPPRegistryInfoResp(EPPTransId aTransId, EPPRegistrySystemInfo aSystemInfo)
EPPRegistryInfoResp
instance with system detailed
information.aTransId
- transaction Id associated with responseaSystemInfo
- object containing detailed system 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.EPPRegistryInfoResp
instance.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 boolean hasZoneList()
true
if the zone list is defined; false
otherwise.public EPPRegistryZoneList getZoneList()
null
otherwise.public void setZoneList(EPPRegistryZoneList aZoneList)
aZoneList
- Zone list. Set to null
if undefined.public boolean hasZoneInfo()
true
if the zone info is defined; false
otherwise.public EPPRegistryZoneData getZoneInfo()
null
otherwise.public void setZoneInfo(EPPRegistryZoneData aZoneInfo)
aZoneInfo
- The detailed system information. Set to null
if
undefined.public boolean hasSystemInfo()
true
if the system info is defined; false
otherwise.public EPPRegistrySystemInfo getSystemInfo()
null
otherwise.public void setSystemInfo(EPPRegistrySystemInfo aSystemInfo)
aSystemInfo
- The detailed system information. Set to null
if
undefined.