public class EPPRegistryReservedNames extends java.lang.Object implements EPPCodecComponent
EPPRegistryReservedNames defines the set of reserved domain names
starting from that label level. The reserved names can refer to values with
more than one level which is relative to the level of the parent
<registry:domainName> element.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryReservedNames. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryReservedNames. |
| Constructor and Description |
|---|
EPPRegistryReservedNames()
Default constructor.
|
EPPRegistryReservedNames(java.util.List<java.lang.String> aReservedNames)
EPPRegistryReservedNames constructor that takes the list of
reserved names. |
EPPRegistryReservedNames(java.lang.String aReservedNameURI)
EPPRegistryReservedNames constructor that takes the external
reserved name URI. |
| Modifier and Type | Method and Description |
|---|---|
void |
addReservedName(java.lang.String aReservedName)
Add a reserved name relative to the zone to the list of reserved names.
|
java.lang.Object |
clone()
Clone
EPPRegistryZoneInfo. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryReservedNames 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
EPPRegistryReservedNames instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryReservedNames compare. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.util.List<java.lang.String> |
getReservedNames()
Gets the reserved names.
|
java.lang.String |
getReservedNameURI()
Gets the URI to an externally defined list of reserved domain names
relative to the level of the zone.
|
boolean |
hasReservedNames()
Is the reserved name list defined?
|
boolean |
hasReservedNameURI()
Is the reserved name URI defined?
|
void |
setReservedNames(java.util.List<java.lang.String> aReservedNames)
Sets the reserved names.
|
void |
setReservedNameURI(java.lang.String aReservedNameURI)
Sets the URI to an externally defined list of reserved domain names
relative to the level of the 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_LOCALNAME
EPPRegistryReservedNames.public static final java.lang.String ELM_NAME
EPPRegistryReservedNames.public EPPRegistryReservedNames()
public EPPRegistryReservedNames(java.util.List<java.lang.String> aReservedNames)
EPPRegistryReservedNames constructor that takes the list of
reserved names.aReservedNames - List of reserved names relative to the level of the zone.public EPPRegistryReservedNames(java.lang.String aReservedNameURI)
EPPRegistryReservedNames constructor that takes the external
reserved name URI.aReservedNameURI - URI to an externally defined list of reserved domain names
relative to the level of the zone. Set to null to clear
the URI.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryReservedNames instance.encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.EPPRegistryReservedNames instance.EPPEncodeException - - Unable to encode EPPRegistryReservedNames
instance.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryReservedNames attributes from the aElement
DOM Element tree.decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryReservedNames
from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryReservedNames compare.equals in class java.lang.ObjectaObject - EPPRegistryReservedNames instance to compare withtrue if this object is the same as the aObject argument;
false otherwisepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryZoneInfo.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryZoneInfojava.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 boolean hasReservedNames()
true if the reserved name list is defined; false
otherwise.public java.util.List<java.lang.String> getReservedNames()
null otherwise.public void setReservedNames(java.util.List<java.lang.String> aReservedNames)
aReservedNames - List of reserved names relative to the zone.public void addReservedName(java.lang.String aReservedName)
aReservedName - Reserved name to add to the list of reserved names.public boolean hasReservedNameURI()
true if the reserved name URI is defined; false
otherwise.public java.lang.String getReservedNameURI()
null
otherwise.public void setReservedNameURI(java.lang.String aReservedNameURI)
aReservedNameURI - URI to an externally defined list of reserved domain names
relative to the level of the zone. Set to null to clear
the URI.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.Copyright © VeriSign Inc. All Rights Reserved.