Class EPPRegistryServicesExt
- java.lang.Object
-
- com.verisign.epp.codec.registry.v02.EPPRegistryServicesExt
-
- All Implemented Interfaces:
EPPCodecComponent,java.io.Serializable,java.lang.Cloneable
public class EPPRegistryServicesExt extends java.lang.Object implements EPPCodecComponent
Class that represents the "registry:svcExtension" element that contains a list of extension namespace URIs.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEPPRegistryServicesExt.EPPRegistryExtURIExtension service URI that includes the URI value and a "required" attribute that indicates whether use of the extension service is required.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_LOCALNAMEXML local name forEPPRegistryServicesExt.static java.lang.StringELM_NAMEXML root tag forEPPRegistryServicesExt.
-
Constructor Summary
Constructors Constructor Description EPPRegistryServicesExt()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddExtURI(EPPRegistryServicesExt.EPPRegistryExtURI aURI)Adds an extension namespace URI to the list.java.lang.Objectclone()CloneEPPRegistryServicesExt.voiddecode(org.w3c.dom.Element aElement)Decode theEPPRegistryServicesExtattributes from the aElement DOM Element tree.org.w3c.dom.Elementencode(org.w3c.dom.Document aDocument)Encode a DOM Element tree from the attributes of theEPPRegistryServicesExtinstance.booleanequals(java.lang.Object aObject)implements a deepEPPRegistryServicesExtcompare.java.util.ListgetExtURIs()Gets the extension namespace URIs.java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPCodecComponent.voidsetExtURIs(java.util.List aExtURIs)Sets the extension namespace URIs.java.lang.StringtoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
-
-
Field Detail
-
ELM_LOCALNAME
public static final java.lang.String ELM_LOCALNAME
XML local name forEPPRegistryServicesExt.- See Also:
- Constant Field Values
-
ELM_NAME
public static final java.lang.String ELM_NAME
XML root tag forEPPRegistryServicesExt.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EPPRegistryServicesExt
public EPPRegistryServicesExt()
Default constructor. At least one extension namespace URI must be defined prior to callingencode(Document).
-
-
Method Detail
-
encode
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionEncode a DOM Element tree from the attributes of theEPPRegistryServicesExtinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryServicesExtinstance. - Throws:
EPPEncodeException- - Unable to encodeEPPRegistryServicesinstance.
-
decode
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionDecode theEPPRegistryServicesExtattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPRegistryServicesExtfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPRegistryServicesExt.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classjava.lang.Object- Returns:
- clone of
EPPRegistryServicesExt - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPRegistryServicesExtcompare.- Overrides:
equalsin classjava.lang.Object- Parameters:
aObject-EPPRegistryServicesExtinstance to compare with- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
public java.lang.String toString()
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classjava.lang.Object- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
getExtURIs
public java.util.List getExtURIs()
Gets the extension namespace URIs.- Returns:
ListofEPPRegistryServicesExt.EPPRegistryExtURIinstances containing the extension namespace URIs.
-
setExtURIs
public void setExtURIs(java.util.List aExtURIs)
Sets the extension namespace URIs.- Parameters:
aExtURIs-ListofEPPRegistryServicesExt.EPPRegistryExtURIinstances containing the extension namespace URIs.
-
addExtURI
public void addExtURI(EPPRegistryServicesExt.EPPRegistryExtURI aURI)
Adds an extension namespace URI to the list.- Parameters:
aURI- Extension namespace URI to add to the list.
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-
-