EppServiceMenu
This EppServiceMenu
class implements EPP svcMenuType entity.
Inheritance:
Public Methods
-
EppServiceMenu()
- Creates an
EppServiceMenu
object
-
~EppServiceMenu()
- Destructor
-
ValueVectorOf<DOMString> * getVersion()
- Returns a
Vector
containing all version numbers supported by the EPP server
-
void addVersion( DOMString version )
- Adds a version number to the list of versions supported by the EPP server
-
ValueVectorOf<DOMString> * getLanguage()
- Returns a
Vector
containing all languages supported by the Epp server
-
void addLanguage( DOMString language )
- Adds a language to the list of languages supported by the EPP server
-
ValueVectorOf<DOMString> * getService()
- Returns a
Vector
containing the name space and schema location of all objects supported by the EPP server
-
void addService( DOMString service )
- Adds an object name to the list of all objects supported by the EPP server
-
ValueVectorOf<DOMString> * getUnspec()
- Returns a
Vector
containing the name space and schema location of all unspec objects supported by the EPP server.
-
void addUnspec( DOMString name, DOMString uri, DOMString schema )
- Adds an unspec object to the list of all unspec objects supported by the EPP server
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppServiceMenu
object into an XML element
-
static EppServiceMenu* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppServiceMenu
object.
Protected Fields
-
ValueVectorOf<DOMString> * version
- The version list of the EPP Service Menu
-
ValueVectorOf<DOMString> * lang
- The language list of the EPP Service Menu
-
ValueVectorOf<DOMString> * svc
- The standard object list of the EPP Service Menu
-
ValueVectorOf<DOMString> * unspec
- The unspec object list of the EPP Service Menu.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppServiceMenu
class implements EPP svcMenuType entity.
ValueVectorOf<DOMString> * version
-
The version list of the EPP Service Menu
ValueVectorOf<DOMString> * lang
-
The language list of the EPP Service Menu
ValueVectorOf<DOMString> * svc
-
The standard object list of the EPP Service Menu
ValueVectorOf<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"
EppServiceMenu()
-
Creates an
EppServiceMenu
object
~EppServiceMenu()
-
Destructor
ValueVectorOf<DOMString> * getVersion()
-
Returns a
Vector
containing all version numbers
supported by the EPP server
void addVersion( DOMString version )
-
Adds a version number to the list of versions supported by the
EPP server
ValueVectorOf<DOMString> * getLanguage()
-
Returns a
Vector
containing all languages supported
by the Epp server
void addLanguage( DOMString language )
-
Adds a language to the list of languages supported by the
EPP server
ValueVectorOf<DOMString> * getService()
-
Returns a
Vector
containing the name space and schema
location of all objects supported by the EPP server
void addService( DOMString service )
-
Adds an object name to the list of all objects supported by
the EPP server
ValueVectorOf<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"
void 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
DOM_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
static 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.