public class EPPRegistryZoneList extends java.lang.Object implements EPPCodecComponent
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).EPPRegistryZoneSummary,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryZoneList. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryZoneList. |
| Constructor and Description |
|---|
EPPRegistryZoneList()
Default constructor.
|
EPPRegistryZoneList(EPPRegistryZoneSummary zoneSummary)
Constructor that takes one
EPPRegistryZoneSummary instance. |
EPPRegistryZoneList(java.util.List<EPPRegistryZoneSummary> aZoneList)
Constructor that takes a zone list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addZone(EPPRegistryZoneSummary 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.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.util.List<EPPRegistryZoneSummary> |
getZoneList()
Get the zone summary list.
|
void |
setZone(EPPRegistryZoneSummary zone)
Clear the existing zone list and add add one zone to the list
|
void |
setZoneList(java.util.List<EPPRegistryZoneSummary> aZoneList)
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. |
public static final java.lang.String ELM_LOCALNAME
EPPRegistryZoneList.public static final java.lang.String ELM_NAME
EPPRegistryZoneList.public EPPRegistryZoneList()
zoneList is initialized as an empty
List.public EPPRegistryZoneList(java.util.List<EPPRegistryZoneSummary> aZoneList)
aZoneList - List of zone summarypublic EPPRegistryZoneList(EPPRegistryZoneSummary zoneSummary)
EPPRegistryZoneSummary instance.
zoneList is initialized to have one element.zoneSummary - summary attributes of one zonepublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - 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 EPPCodecComponentaElement - - 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.ObjectaObject - EPPRegistryZoneList instance to compare withtrue if this object is the same as the aObject argument;
false otherwisepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryZoneList.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryZoneListjava.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.ObjectString if successful; ERROR
otherwise.public java.util.List<EPPRegistryZoneSummary> getZoneList()
List of EPPRegistryZonepublic void setZoneList(java.util.List<EPPRegistryZoneSummary> aZoneList)
aZoneList - List of EPPRegistryZonepublic void addZone(EPPRegistryZoneSummary zone)
zone - zone to addpublic void setZone(EPPRegistryZoneSummary zone)
zone - zone to addpublic java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.