|
||||||||||
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.registry.EPPRegistryInfoResp
public class EPPRegistryInfoResp
Represents an EPP Registry <registry:infData> response to an
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.
If the corresponding registry create command contains <registry:all>
element, The <registry:infData> element must contain the following
child elements:
EPPRegistryInfoCmd
,
EPPRegistryZoneList
,
EPPRegistryZone
,
EPPRegistryZoneInfo
,
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 | |
---|---|
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. |
Method Summary | |
---|---|
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 . |
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 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 infoMethod Detail |
---|
protected 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 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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |