|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryZoneList
public class EPPRegistryZoneList
Represents a list of zone summary info. Upon receiving an <info>
command, with a <registry:all> element in it, the server puts a
<registry:zoneList> element in the response. The list contains the zone
summary attributes of supported zones. Use setZoneList
and
getZoneList
to set and get zone list; use addZone
to add zone
to existing list; and use setZone
to add one zone in the zone list (
setZone
will empty the existing zone list).
Each element in the list contains the following info:
EPPRegistryZone
,
Serialized FormConstructor Summary | |
---|---|
EPPRegistryZoneList()
Default constructor. |
|
EPPRegistryZoneList(EPPRegistryZone zoneSummary)
Constructor that takes one EPPRegistryZone instance. |
|
EPPRegistryZoneList(java.util.List zoneList)
Constructor that takes a zone list. |
Method Summary | |
---|---|
void |
addTld(EPPRegistryZone zone)
Deprecated. As of v1.2, use addZone(EPPRegistryZone) |
void |
addZone(EPPRegistryZone zone)
Append one zone to the existing zone list. |
java.lang.Object |
clone()
Clone EPPRegistryZoneList . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryZoneList 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 EPPRegistryZoneList instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryZoneList compare. |
java.util.List |
getZoneList()
Get the zone summary list. |
void |
setZone(EPPRegistryZone zone)
Clear the existing zone list and add add one zone to the list |
void |
setZoneList(java.util.List zoneList)
Set the zone summary list. |
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 java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EPPRegistryZoneList()
zoneList
is initialized as an empty
List
.
public EPPRegistryZoneList(java.util.List zoneList)
zoneList
- List
of zone summarypublic EPPRegistryZoneList(EPPRegistryZone zoneSummary)
EPPRegistryZone
instance.
zoneList
is initialized to have one element.
zoneSummary
- summary attributes of one zoneMethod Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPEncodeException
- - Unable to encode EPPRegistryZoneList instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
decode
in interface EPPCodecComponent
aElement
- - Root DOM Element to decode EPPRegistryZoneList from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryZoneList
compare.
equals
in class java.lang.Object
aObject
- EPPRegistryZoneList
instance to compare with
true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryZoneList
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryZoneList
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.public java.util.List getZoneList()
List
of EPPRegistryZone
public void setZoneList(java.util.List zoneList)
zoneList
- List
of EPPRegistryZone
public void addZone(EPPRegistryZone zone)
zone
- zone to addpublic void setZone(EPPRegistryZone zone)
zone
- zone to add@Deprecated public void addTld(EPPRegistryZone zone)
addZone(EPPRegistryZone)
zone
- zone to add
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |