Class EPPRegistryInfoResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.registry.v02.EPPRegistryInfoResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP Registry <registry:infData> response to an
If the corresponding registry create command contains <registry:all> element, The <registry:infData> element must contain the following child elements:
If the corresponding registry create command contains <registry:name> element, The <registry:infData> element must contain the following child elements:
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:
- A <registry:zoneList> element that contains the list of supported zones by the server with a set of summary attributes per zone. Each set of summary attributes are enclosed in the <registry:zone> element.
If the corresponding registry create command contains <registry:name> element, The <registry:infData> element must contain the following child elements:
- A <registry:zone> element that contains the detail info of a zone object.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPRegistryInfoResp.static final StringXML root tag forEPPRegistryInfoResp.Fields inherited from class com.verisign.epp.codec.gen.EPPResponse
ELM_EXTENSION, ELM_MESSAGE_QUEUE, ELM_MESSAGE_QUEUE_QDATE, ELM_RESPONSE_DATA, extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED -
Constructor Summary
ConstructorsConstructorDescriptionEPPRegistryInfoRespdefault constructor.EPPRegistryInfoResp(EPPTransId aTransId, EPPRegistrySystemInfo aSystemInfo) Create aEPPRegistryInfoRespinstance with system detailed information.EPPRegistryInfoResp(EPPTransId aTransId, EPPRegistryZoneData aZoneInfo) Create aEPPRegistryInfoRespinstance with zone detailed information.EPPRegistryInfoResp(EPPTransId aTransId, EPPRegistryZoneList aZoneList) Create aEPPRegistryInfoRespinstance with a set of zone summary attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRegistryInfoResp.protected voidDecode theEPPRegistryInfoRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPRegistryInfoRespinstance.booleanCompare an instance ofEPPRegistryInfoRespwith this instance.Gets the EPP command namespace associated withEPPRegistryInfoResp.Gets the system information.getType()Gets the EPP response type associated withEPPRegistryInfoResp.Gets the zone information.Gets the zone list.booleanIs the system info set?booleanIs the zone info set?booleanIs the zone list set?voidsetSystemInfo(EPPRegistrySystemInfo aSystemInfo) Sets the system information.voidsetZoneInfo(EPPRegistryZoneData aZoneInfo) Sets the zone information.voidsetZoneList(EPPRegistryZoneList aZoneList) Sets the zone list.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPResponse
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, 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
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPRegistryInfoResp.- See Also:
-
ELM_NAME
XML root tag forEPPRegistryInfoResp.- See Also:
-
-
Constructor Details
-
EPPRegistryInfoResp
public EPPRegistryInfoResp()EPPRegistryInfoRespdefault constructor. Must call eithersetZoneList,setZoneInfo, orsetSystemInfosetter methods before invokingencode. -
EPPRegistryInfoResp
Create aEPPRegistryInfoRespinstance with a set of zone summary attributes.- Parameters:
aTransId- transaction Id associated with responseaZoneList- object containing a list of zone summary attributes
-
EPPRegistryInfoResp
Create aEPPRegistryInfoRespinstance with zone detailed information.- Parameters:
aTransId- transaction Id associated with responseaZoneInfo- object containing detailed zone info
-
EPPRegistryInfoResp
Create aEPPRegistryInfoRespinstance with system detailed information.- Parameters:
aTransId- transaction Id associated with responseaSystemInfo- object containing detailed system info
-
-
Method Details
-
doEncode
Encode a DOM Element tree from the attributes of theEPPRegistryInfoRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryInfoRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPRegistryInfoRespinstance.
-
doDecode
Decode theEPPRegistryInfoRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPRegistryInfoRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPRegistryInfoResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPRegistryInfoResp - Throws:
CloneNotSupportedException- standard Object.clone exception
-
getType
Gets the EPP response type associated withEPPRegistryInfoResp.- Overrides:
getTypein classEPPResponse- Returns:
EPPRegistryInfoResp.ELM_NAME
-
getNamespace
Gets the EPP command namespace associated withEPPRegistryInfoResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPRegistryMapFactory.NS
-
equals
Compare an instance ofEPPRegistryInfoRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
hasZoneList
public boolean hasZoneList()Is the zone list set?- Returns:
trueif the zone list is defined;falseotherwise.
-
getZoneList
Gets the zone list.- Returns:
- The zone list if defined:
nullotherwise.
-
setZoneList
Sets the zone list.- Parameters:
aZoneList- Zone list. Set tonullif undefined.
-
hasZoneInfo
public boolean hasZoneInfo()Is the zone info set?- Returns:
trueif the zone info is defined;falseotherwise.
-
getZoneInfo
Gets the zone information.- Returns:
- The detailed zone information if defined;
nullotherwise.
-
setZoneInfo
Sets the zone information.- Parameters:
aZoneInfo- The detailed system information. Set tonullif undefined.
-
hasSystemInfo
public boolean hasSystemInfo()Is the system info set?- Returns:
trueif the system info is defined;falseotherwise.
-
getSystemInfo
Gets the system information.- Returns:
- The detailed system information if defined;
nullotherwise.
-
setSystemInfo
Sets the system information.- Parameters:
aSystemInfo- The detailed system information. Set tonullif undefined.
-