|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neulevel.epp.core.EppEntity | +--com.neulevel.epp.core.EppServiceMenu
This EppServiceMenu
class implements EPP svcMenuType entity.
Field Summary | |
protected java.util.Vector |
lang
The language list of the EPP Service Menu |
protected java.util.Vector |
svc
The standard object list of the EPP Service Menu |
protected java.util.Vector |
unspec
The unspec object list of the EPP Service Menu. |
protected java.util.Vector |
version
The version list of the EPP Service Menu |
Constructor Summary | |
EppServiceMenu()
Creates an EppServiceMenu object |
Method Summary | |
void |
addLanguage(java.lang.String language)
Adds a language to the list of languages supported by the EPP server |
void |
addService(java.lang.String service)
Adds an object name to the list of all objects supported by the EPP server |
void |
addUnspec(java.lang.String name,
java.lang.String uri,
java.lang.String schema)
Adds an unspec object to the list of all unspec objects supported by the EPP server |
void |
addVersion(java.lang.String version)
Adds a version number to the list of versions supported by the EPP server |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppServiceMenu object. |
java.util.Vector |
getLanguage()
Returns a Vector containing all languages supported
by the Epp server |
java.util.Vector |
getService()
Returns a Vector containing the name space and schema
location of all objects supported by the EPP server |
java.util.Vector |
getUnspec()
Returns a Vector containing the name space and schema
location of all unspec objects supported by the EPP server. |
java.util.Vector |
getVersion()
Returns a Vector containing all version numbers
supported by the EPP server |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppServiceMenu object into an XML element |
Methods inherited from class com.neulevel.epp.core.EppEntity |
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected java.util.Vector version
protected java.util.Vector lang
protected java.util.Vector svc
protected java.util.Vector unspec
Constructor Detail |
public EppServiceMenu()
EppServiceMenu
objectMethod Detail |
public java.util.Vector getVersion()
Vector
containing all version numbers
supported by the EPP serverpublic void addVersion(java.lang.String version)
public java.util.Vector getLanguage()
Vector
containing all languages supported
by the Epp serverpublic void addLanguage(java.lang.String language)
public java.util.Vector getService()
Vector
containing the name space and schema
location of all objects supported by the EPP serverpublic void addService(java.lang.String service)
public java.util.Vector getUnspec()
Vector
containing the name space and schema
location of all unspec objects supported by the EPP server.
Each entry in the vector is a string containing three tokens:
three tokens: name, url, and schema file name. For example:
"obj1ext http://custom/obj1ext-1.0 obj1ext-1.0.xsd"public void addUnspec(java.lang.String name, java.lang.String uri, java.lang.String schema)
name
- the name of the objecturi
- the uri of the objectschema
- the XML schema defining the objectpublic org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppServiceMenu
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppServiceMenu
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppServiceMenu
object.
The caller of this method must make sure that the root node is of
the EPP addrType.root
- root node for an EppServiceMenu
object
in XML formatEppServiceMenu
object, or null if the node
is invalidpublic java.lang.String toString()
|
EPP 0.2.5 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |