Class EPPRegistryReservedNames
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryReservedNames
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
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.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EPPRegistryReservedNames(String aReservedNameURI) EPPRegistryReservedNamesconstructor that takes the external reserved name URI.EPPRegistryReservedNames(List<String> aReservedNames) EPPRegistryReservedNamesconstructor that takes the list of reserved names. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReservedName(String aReservedName) Add a reserved name relative to the zone to the list of reserved names.clone()CloneEPPRegistryZoneInfo.voidDecode theEPPRegistryReservedNamesattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPRegistryReservedNamesinstance.booleanimplements a deepEPPRegistryReservedNamescompare.Returns the XML namespace associated with theEPPCodecComponent.Gets the reserved names.Gets the URI to an externally defined list of reserved domain names relative to the level of the zone.booleanIs the reserved name list defined?booleanIs the reserved name URI defined?voidsetReservedNames(List<String> aReservedNames) Sets the reserved names.voidsetReservedNameURI(String aReservedNameURI) Sets the URI to an externally defined list of reserved domain names relative to the level of the zone.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPRegistryReservedNames.- See Also:
-
ELM_NAME
XML root tag forEPPRegistryReservedNames.- See Also:
-
-
Constructor Details
-
EPPRegistryReservedNames
public EPPRegistryReservedNames()Default constructor. -
EPPRegistryReservedNames
EPPRegistryReservedNamesconstructor that takes the list of reserved names.- Parameters:
aReservedNames- List of reserved names relative to the level of the zone.
-
EPPRegistryReservedNames
EPPRegistryReservedNamesconstructor that takes the external reserved name URI.- Parameters:
aReservedNameURI- URI to an externally defined list of reserved domain names relative to the level of the zone. Set tonullto clear the URI.
-
-
Method Details
-
encode
Encode a DOM Element tree from the attributes of theEPPRegistryReservedNamesinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryReservedNamesinstance. - Throws:
EPPEncodeException- - Unable to encodeEPPRegistryReservedNamesinstance.
-
decode
Decode theEPPRegistryReservedNamesattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPRegistryReservedNamesfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
implements a deepEPPRegistryReservedNamescompare. -
clone
CloneEPPRegistryZoneInfo.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRegistryZoneInfo - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
hasReservedNames
public boolean hasReservedNames()Is the reserved name list defined?- Returns:
trueif the reserved name list is defined;falseotherwise.
-
getReservedNames
Gets the reserved names.- Returns:
- Reserved names if defined;
nullotherwise.
-
setReservedNames
Sets the reserved names.- Parameters:
aReservedNames- List of reserved names relative to the zone.
-
addReservedName
Add a reserved name relative to the zone to the list of reserved names.- Parameters:
aReservedName- Reserved name to add to the list of reserved names.
-
hasReservedNameURI
public boolean hasReservedNameURI()Is the reserved name URI defined?- Returns:
trueif the reserved name URI is defined;falseotherwise.
-
getReservedNameURI
Gets the URI to an externally defined list of reserved domain names relative to the level of the zone.- Returns:
- URI to an externally defined list of reserved domain names
relative to the level of the zone if defined;
nullotherwise.
-
setReservedNameURI
Sets the URI to an externally defined list of reserved domain names relative to the level of the zone.- Parameters:
aReservedNameURI- URI to an externally defined list of reserved domain names relative to the level of the zone. Set tonullto clear the URI.
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-