Class EPPRegistryServices
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryServices
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPP namespace URIs of the objects and object extensions supported by the
server based on RFC 5730. The
EPPRegistryServices contains the
following lists:- One or more object
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. - An optional
EPPRegistryServicesExtobject that contains one or moreStrings 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.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classObject service URI that includes the URI value and a "required" attribute that indicates whether use of the object service is required.static classAbstract class that represents an object or extension URI. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor that takes the list of object URIs for the zone. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds an object namespace URI to the list of object namespace URIs.clone()CloneEPPRegistryServices.voidDecode theEPPRegistryServicesattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPRegistryServicesinstance.booleanimplements a deepEPPRegistryServicescompare.Gets the extension services.Returns the XML namespace associated with theEPPCodecComponent.Gets the namespace URIs representing the objects that the server is capable of managing for the zone.voidsetExtension(EPPRegistryServicesExt aExtension) Sets the extension services.voidsetObjURIs(List<EPPRegistryServices.EPPRegistryObjURI> aObjURIs) Sets the namespace URIs representing the objects that the server is capable of managing for the zone.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPRegistryServices.- See Also:
-
ELM_NAME
XML root tag forEPPRegistryServices.- See Also:
-
-
Constructor Details
-
EPPRegistryServices
public EPPRegistryServices()Default constructor. At least one object URI must be set prior to callingencode(Document). -
EPPRegistryServices
Constructor that takes the list of object URIs for the zone.- Parameters:
aObjURIs-ListofEPPRegistryServices.EPPRegistryObjURIinstances
-
-
Method Details
-
encode
Encode a DOM Element tree from the attributes of theEPPRegistryServicesinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryServicesinstance. - Throws:
EPPEncodeException- - Unable to encodeEPPRegistryServicesinstance.
-
decode
Decode theEPPRegistryServicesattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPRegistryServicesfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
implements a deepEPPRegistryServicescompare. -
clone
CloneEPPRegistryServices.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRegistryServices - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getObjURIs
Gets the namespace URIs representing the objects that the server is capable of managing for the zone.- Returns:
ListofEPPRegistryServices.EPPRegistryURIinstances.
-
setObjURIs
Sets the namespace URIs representing the objects that the server is capable of managing for the zone.- Parameters:
aObjURIs-ListofEPPRegistryServices.EPPRegistryURIinstances.
-
addObjURI
Adds an object namespace URI to the list of object namespace URIs.- Parameters:
aURI- URI to add to list
-
getExtension
Gets the extension services.- Returns:
- Extension services if defined;
nullotherwise.
-
setExtension
Sets the extension services.- Parameters:
aExtension- Extension services to set.
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-