class EppServiceMenu

This EppServiceMenu class implements EPP svcMenuType entity.

Inheritance:


Public Methods

[more] EppServiceMenu()
Creates an EppServiceMenu object
[more] ~EppServiceMenu()
Destructor
[more]ValueVectorOf<DOMString> * getVersion()
Returns a Vector containing all version numbers supported by the EPP server
[more]void addVersion( DOMString version )
Adds a version number to the list of versions supported by the EPP server
[more]ValueVectorOf<DOMString> * getLanguage()
Returns a Vector containing all languages supported by the Epp server
[more]void addLanguage( DOMString language )
Adds a language to the list of languages supported by the EPP server
[more]ValueVectorOf<DOMString> * getService()
Returns a Vector containing the name space and schema location of all objects supported by the EPP server
[more]void addService( DOMString service )
Adds an object name to the list of all objects supported by the EPP server
[more]ValueVectorOf<DOMString> * getUnspec()
Returns a Vector containing the name space and schema location of all unspec objects supported by the EPP server.
[more]void addUnspec( DOMString name, DOMString uri, DOMString schema )
Adds an unspec object to the list of all unspec objects supported by the EPP server
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppServiceMenu object into an XML element
[more]static EppServiceMenu* fromXML( const DOM_Node& root )
Converts an XML element into an EppServiceMenu object.

Protected Fields

[more]ValueVectorOf<DOMString> * version
The version list of the EPP Service Menu
[more]ValueVectorOf<DOMString> * lang
The language list of the EPP Service Menu
[more]ValueVectorOf<DOMString> * svc
The standard object list of the EPP Service Menu
[more]ValueVectorOf<DOMString> * unspec
The unspec object list of the EPP Service Menu.


Inherited from EppEntity:

Public Methods

ovirtual int getEntityType()
obool instanceOf( const int type )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppServiceMenu class implements EPP svcMenuType entity.

oValueVectorOf<DOMString> * version
The version list of the EPP Service Menu

oValueVectorOf<DOMString> * lang
The language list of the EPP Service Menu

oValueVectorOf<DOMString> * svc
The standard object list of the EPP Service Menu

oValueVectorOf<DOMString> * unspec
The unspec object list of the EPP Service Menu. Each entry contains three tokens: name, url, and schema file name. For example: "obj1ext http:custom/obj1ext-1.0 obj1ext-1.0.xsd"

o EppServiceMenu()
Creates an EppServiceMenu object

o ~EppServiceMenu()
Destructor

oValueVectorOf<DOMString> * getVersion()
Returns a Vector containing all version numbers supported by the EPP server

ovoid addVersion( DOMString version )
Adds a version number to the list of versions supported by the EPP server

oValueVectorOf<DOMString> * getLanguage()
Returns a Vector containing all languages supported by the Epp server

ovoid addLanguage( DOMString language )
Adds a language to the list of languages supported by the EPP server

oValueVectorOf<DOMString> * getService()
Returns a Vector containing the name space and schema location of all objects supported by the EPP server

ovoid addService( DOMString service )
Adds an object name to the list of all objects supported by the EPP server

oValueVectorOf<DOMString> * getUnspec()
Returns a 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"

ovoid addUnspec( DOMString name, DOMString uri, DOMString schema )
Adds an unspec object to the list of all unspec objects supported by the EPP server

Parameters:
name - the name of the object
uri - the uri of the object
schema - the XML schema defining the object
Note: if any of the parameters is null, empty, or containing spaces no action will be taken

oDOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppServiceMenu object into an XML element

Parameters:
doc - the XML DOM_Element object
tag - the tag/element name for the EppServiceMenu object
Returns:
an DOM_Element object

ostatic EppServiceMenu* fromXML( const DOM_Node& root )
Converts an XML element into an EppServiceMenu object. The caller of this method must make sure that the root node is of the EPP addrType.

Parameters:
root - root node for an EppServiceMenu object in XML format
Returns:
an EppServiceMenu object, or null if the node is invalid


This class has no child classes.
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision$ $Date$

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.