public class EPPRegistryZoneName extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Class and Description |
|---|---|
static class |
EPPRegistryZoneName.Form
Possible values for the
form attribute. |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_FORM
XML attribute name for the
form attribute. |
static java.lang.String |
ELM_ZONE
Optional XML Element Name of
name attribute. |
static java.lang.String |
ELM_ZONE_NAME
Default XML Element Name for
name attribute. |
| Constructor and Description |
|---|
EPPRegistryZoneName()
Default constructor.
|
EPPRegistryZoneName(java.lang.String aName)
Construct
EPPRegistryZoneName with name using the default root
label of ELM_ZONE_NAME and the default form of
EPPRegistryZoneName.Form.aLabel. |
EPPRegistryZoneName(java.lang.String aName,
EPPRegistryZoneName.Form aForm)
Construct
EPPRegistryZoneName with name and form using the default
root label of ELM_ZONE_NAME. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPRegistryZone. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryZone 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
EPPRegistryZone instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryZone compare. |
EPPRegistryZoneName.Form |
getForm()
Gets the form of the zone name.
|
java.lang.String |
getName()
Gets the name of the zone.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.lang.String |
getRootName()
Gets the root element local name, which should be either
ELM_ZONE_NAME or ELM_ZONE. |
void |
setForm(EPPRegistryZoneName.Form aForm)
Sets the form of the zone name.
|
void |
setName(java.lang.String aName)
Sets the name of the zone.
|
void |
setRootName(java.lang.String aRootName)
Sets the root element local name, which should be either
ELM_ZONE_NAME or ELM_ZONE. |
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_ZONE_NAME
name attribute.public static final java.lang.String ELM_ZONE
name attribute.public static final java.lang.String ATTR_FORM
form attribute.public EPPRegistryZoneName()
elmRootLocalName - ELM_ZONE_NAMEname - nullpublic EPPRegistryZoneName(java.lang.String aName)
EPPRegistryZoneName with name using the default root
label of ELM_ZONE_NAME and the default form of
EPPRegistryZoneName.Form.aLabel.aName - fully qualified name of zone objectpublic EPPRegistryZoneName(java.lang.String aName,
EPPRegistryZoneName.Form aForm)
EPPRegistryZoneName with name and form using the default
root label of ELM_ZONE_NAME.aName - fully qualified name of zone objectaForm - The form of the zone name as either EPPRegistryZoneName.Form.aLabel or
EPPRegistryZoneName.Form.uLabel,public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryZone instance.encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.EPPRegistryZone
instance.EPPEncodeException - - Unable to encode EPPRegistryZone instance.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryZone attributes from the aElement DOM
Element tree.decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryZone from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryZone compare.equals in class java.lang.ObjectaObject - EPPRegistryZone instance to compare withtrue if this object is the same as the aObject argument;
false otherwisepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryZone.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryZonejava.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.lang.String getRootName()
ELM_ZONE_NAME or ELM_ZONE.ELM_ZONE_NAME or ELM_ZONEpublic void setRootName(java.lang.String aRootName)
ELM_ZONE_NAME or ELM_ZONE.aRootName - ELM_ZONE_NAME or ELM_ZONEpublic java.lang.String getName()
public void setName(java.lang.String aName)
aName - fully qualified name of the zone objectpublic EPPRegistryZoneName.Form getForm()
EPPRegistryZoneName.Form.aLabel.public void setForm(EPPRegistryZoneName.Form aForm)
aForm - Form of the zone name.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.