|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.gen.EPPServiceMenu
public class EPPServiceMenu
Identifies the features supported by the server, including:
getVersions
and
setVersion(s)
to get and set the element(s).
getLangs
and setLang(s)
to get and set the
element(s).
getObjectServices
and setObjectServices
to
get and set the element(s). An optional <svcExtension> element that
contains one or more <extURI> elements that contains namespace URIS
representin object extensions supported by the server.
EPPFactory
,
EPPGreeting
,
EPPService
,
Serialized FormField Summary | |
---|---|
boolean |
EXT_SERVICE
Flag for inspecting whether the service is an ExtensionService |
boolean |
OBJ_SERVICE
Flag for inspecting whether the service is an ObjectService |
Constructor Summary | |
---|---|
EPPServiceMenu()
Allocates a new EPPServiceMenu with default attribute
values. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPServiceMenu . |
void |
decode(org.w3c.dom.Element aElement)
decode EPPServiceMenu from a DOM element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode EPPServiceMenu into a DOM element tree. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPServiceMenu compare. |
java.util.Vector |
getExtensionServices()
Gets the list of supported/desired extension services. |
java.lang.String |
getLang()
Gets the single EPP language. |
java.util.Vector |
getLangs()
Gets the list of supported/desired language(s). |
java.util.Vector |
getObjectServices()
Gets the list of supported/desired object services. |
java.lang.String |
getVersion()
Gets the single EPP version. |
java.util.Vector |
getVersions()
Gets the list of supported/desired EPP versions. |
void |
setExtensionServices(java.util.Vector someExtServices)
Sets the list of supported/desired extension services. |
void |
setLang(java.lang.String aLang)
Sets the languages to an individual language. |
void |
setLangs(java.util.Vector someLangs)
Sets the supported languages. |
void |
setObjectServices(java.util.Vector someObjServices)
Sets the list of supported/desired object services. |
void |
setVersion(java.lang.String aVersion)
Sets the EPP versions to an individual EPP version. |
void |
setVersions(java.util.Vector someVersions)
Sets the supported versions. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean OBJ_SERVICE
public boolean EXT_SERVICE
Constructor Detail |
---|
public EPPServiceMenu()
EPPServiceMenu
with default attribute
values. The defaults include the following: Vector
with a single value defined by
the constant EPPCodec.VERSION.
Vector
with a single "en" value.
EPPFactory
EPPFactory
encode
method can be invoked with the default
values set by this constructor.
Method Detail |
---|
public java.util.Vector getVersions()
String
'spublic void setVersions(java.util.Vector someVersions)
someVersions
- Vector of versionString
's supported by
the server.public java.lang.String getVersion()
null
version will
be returned only if there is one version defined.
null
otherwise.public void setVersion(java.lang.String aVersion)
aVersion
- Version to set versions to.public java.util.Vector getLangs()
String
'spublic void setLangs(java.util.Vector someLangs)
someLangs
- Vector of languageString
's supported by
the server.public java.lang.String getLang()
null
language will
be returned only if there is one language defined.
null
otherwise.public void setLang(java.lang.String aLang)
aLang
- Language supported/desired.public java.util.Vector getObjectServices()
EPPService
instances.public void setObjectServices(java.util.Vector someObjServices)
someObjServices
- Vector ofEPPService
instances.public java.util.Vector getExtensionServices()
EPPService
instances.public void setExtensionServices(java.util.Vector someExtServices)
someExtServices
- Vector of EPPService
instances.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPServiceMenu
into a DOM element tree. The
"service-menu" or "services" element is created and the attribute
nodes are appended as children.
encode
in interface EPPCodecComponent
aDocument
- DOCUMENT ME!
EPPEncodeException
- Error encoding the DOM element tree.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPServiceMenu
from a DOM element tree. The
aElement
argument needs to be the <service-menu>
element for a EPPGreeting
and <services> element
for a EPPLoginCmd
.
decode
in interface EPPCodecComponent
aElement
- root element tree.
EPPDecodeException
- Error decoding the DOM element tree.public boolean equals(java.lang.Object aObject)
EPPServiceMenu
compare.
equals
in class java.lang.Object
aObject
- EPPServiceMenu
instance to compare with
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPServiceMenu
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPServiceMenu
java.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.Object
String
if successful;
ERROR
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |