public abstract static class EPPRegistryServices.EPPRegistryURI extends java.lang.Object implements EPPCodecComponent
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_REQUIRED
XML "required" attribute
|
static java.lang.String |
ELM_EXT_URI
XML element used for an extension URI.
|
static java.lang.String |
ELM_EXT_URI_LOCALNAME
XML local name for extension URI.
|
static java.lang.String |
ELM_OBJ_URI
XML element used for an object URI.
|
static java.lang.String |
ELM_OBJ_URI_LOCALNAME
XML local name for object URI.
|
| Constructor and Description |
|---|
EPPRegistryURI()
Default constructor.
|
EPPRegistryURI(java.lang.String aUri,
java.lang.Boolean aRequired)
Constructor that takes the two required attributes for the URI and the
required attribute.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone()
Clone
EPPRegistryURI. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryURI 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
EPPRegistryURI instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryURI compare. |
java.lang.Boolean |
getRequired()
Gets the "required" attribute value.
|
abstract java.lang.String |
getRootName()
Gets the name of the root XML element.
|
java.lang.String |
getUri()
Gets the object or extension URI.
|
void |
setRequired(java.lang.Boolean aRequired)
Sets the "required" attribute value.
|
void |
setUri(java.lang.String aUri)
Sets the object or extension URI.
|
java.lang.String |
toString()
Implementation of
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamespacepublic static final java.lang.String ELM_OBJ_URI_LOCALNAME
public static final java.lang.String ELM_OBJ_URI
public static final java.lang.String ELM_EXT_URI_LOCALNAME
public static final java.lang.String ELM_EXT_URI
public static final java.lang.String ATTR_REQUIRED
public EPPRegistryURI()
encode(Document).public EPPRegistryURI(java.lang.String aUri,
java.lang.Boolean aRequired)
aUri - The object or extension URIaRequired - true if the use of the object or extension URI is
required; false otherwise.public abstract java.lang.String getRootName()
ELM_OBJ_URI for an object URI and ELM_EXT_URI
for an extension URI.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryURI instance.encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.EPPRegistryURI instance.EPPEncodeException - - Unable to encode EPPRegistryURI instance.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryURI attributes from the aElement DOM
Element tree.decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryURI from.EPPDecodeException - Unable to decode aElementpublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryURI.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryURIjava.lang.CloneNotSupportedException - standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryURI compare.equals in class java.lang.ObjectaObject - EPPRegistryURI instance to compare withtrue if this object is the same as the aObject
argument; false otherwisepublic 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.Boolean getRequired()
true if use of the URI is required; false
otherwise. null if the attribute has not been set.public void setRequired(java.lang.Boolean aRequired)
aRequired - true if use of the URI is required; false
otherwise.public java.lang.String getUri()
null otherwise.public void setUri(java.lang.String aUri)
aUri - Object or extension URI value.Copyright © VeriSign Inc. All Rights Reserved.