public class EPPRegistryServices extends java.lang.Object implements EPPCodecComponent
EPPRegistryServices contains the
following lists:Strings that contain namespace URIs
representing the objects that the server is capable of managing for the zone
with the required "required" attribute that defines whether the server
requires the use of object represented by the URI.
EPPRegistryServicesExt object that contains one or
more Strings that contain namespace URIs representing object
extensions support by the server for the zone with the required "required"
attribute that defines whether the server requires the use of the object
extension represented by the URI.
| Modifier and Type | Class and Description |
|---|---|
static class |
EPPRegistryServices.EPPRegistryObjURI
Object service URI that includes the URI value and a "required" attribute
that indicates whether use of the object service is required.
|
static class |
EPPRegistryServices.EPPRegistryURI
Abstract class that represents an object or extension URI.
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPRegistryServices. |
static java.lang.String |
ELM_NAME
XML root tag for
EPPRegistryServices. |
| Constructor and Description |
|---|
EPPRegistryServices()
Default constructor.
|
EPPRegistryServices(java.util.List<EPPRegistryServices.EPPRegistryObjURI> aObjURIs)
Constructor that takes the list of object URIs for the zone.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addObjURI(EPPRegistryServices.EPPRegistryObjURI aURI)
Adds an object namespace URI to the list of object namespace URIs.
|
java.lang.Object |
clone()
Clone
EPPRegistryServices. |
void |
decode(org.w3c.dom.Element aElement)
Decode the
EPPRegistryServices 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
EPPRegistryServices instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPRegistryServices compare. |
EPPRegistryServicesExt |
getExtension()
Gets the extension services.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent. |
java.util.List<EPPRegistryServices.EPPRegistryObjURI> |
getObjURIs()
Gets the namespace URIs representing the objects that the server is
capable of managing for the zone.
|
void |
setExtension(EPPRegistryServicesExt aExtension)
Sets the extension services.
|
void |
setObjURIs(java.util.List<EPPRegistryServices.EPPRegistryObjURI> aObjURIs)
Sets the namespace URIs representing the objects that the server is
capable of managing for 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
EPPRegistryServices.public static final java.lang.String ELM_NAME
EPPRegistryServices.public EPPRegistryServices()
encode(Document).public EPPRegistryServices(java.util.List<EPPRegistryServices.EPPRegistryObjURI> aObjURIs)
aObjURIs - List of EPPRegistryServices.EPPRegistryObjURI instancespublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
EPPRegistryServices instance.encode in interface EPPCodecComponentaDocument - DOM Document that is being built. Used as an Element factory.EPPRegistryServices instance.EPPEncodeException - - Unable to encode EPPRegistryServices instance.public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPRegistryServices attributes from the aElement DOM
Element tree.decode in interface EPPCodecComponentaElement - Root DOM Element to decode EPPRegistryServices from.EPPDecodeException - Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryServices compare.equals in class java.lang.ObjectaObject - EPPRegistryServices instance to compare withtrue if this object is the same as the aObject argument;
false otherwisepublic java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPRegistryServices.clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPRegistryServicesjava.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<EPPRegistryServices.EPPRegistryObjURI> getObjURIs()
List of EPPRegistryServices.EPPRegistryURI instances.public void setObjURIs(java.util.List<EPPRegistryServices.EPPRegistryObjURI> aObjURIs)
aObjURIs - List of EPPRegistryServices.EPPRegistryURI instances.public void addObjURI(EPPRegistryServices.EPPRegistryObjURI aURI)
aURI - URI to add to listpublic EPPRegistryServicesExt getExtension()
null otherwise.public void setExtension(EPPRegistryServicesExt aExtension)
aExtension - Extension services to set.public java.lang.String getNamespace()
EPPCodecComponent.getNamespace in interface EPPCodecComponentEPPCodecComponent.