EppSvcsubParam
This EppSvcsubParam
class implements EPP Svcsub Param entity.
Inheritance:
Public Methods
-
EppSvcsubParam()
- Creates an
EppSvcsubParam
object
-
EppSvcsubParam( DOMString name, DOMString value )
- Creates an
EppSvcsubParam
object with the id of a svcsub name and a value string
-
~EppSvcsubParam()
- Destructor
-
DOMString getName()
- Gets the name of the parameter
-
void setName( DOMString name )
- Sets the name of the parameter
-
DOMString getValue()
- Gets the value of the parameter
-
void setValue( DOMString value )
- Sets the value of the parameter
-
static ValueVectorOf<DOMString> * getParamValue( ValueVectorOf<EppSvcsubParam>* param, DOMString name )
- Gets a sub-list of parameter values, given a list of parameter values and a name string
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppSvcsubParam
object into an XML element
-
static EppSvcsubParam* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppSvcsubParam
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppSvcsubParam
class implements EPP Svcsub Param entity.
Currently, only EPP Svcsub objects have Svcsub params defined:
- EppSvcsubParam()
-
Creates an
EppSvcsubParam
object
- EppSvcsubParam( DOMString name, DOMString value )
-
Creates an
EppSvcsubParam
object with the id of
a svcsub name and a value string
- ~EppSvcsubParam()
-
Destructor
- DOMString getName()
-
Gets the name of the parameter
- void setName( DOMString name )
-
Sets the name of the parameter
- DOMString getValue()
-
Gets the value of the parameter
- void setValue( DOMString value )
-
Sets the value of the parameter
- static ValueVectorOf<DOMString> * getParamValue( ValueVectorOf<EppSvcsubParam>* param, DOMString name )
-
Gets a sub-list of parameter values, given a list of parameter values
and a name string
- Parameters:
- param - a list of EppSvcsubParam objects
name - the name of parameters to be extracted from the list
- Returns:
- a list of parameter values, or null if not found
Note: the caller must free the returned list if not null
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppSvcsubParam
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppSvcsubParam
object
- Returns:
- an
DOM_Element
object
- static EppSvcsubParam* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppSvcsubParam
object.
The caller of this method must make sure that the root node is of
the EPP Svcsub Param type.
- Parameters:
- root - root node for an
EppSvcsubParam
object
in XML format
- Returns:
- an
EppSvcsubParam
object, or null if the node
is invalid
- This class has no child classes.
- Author:
- Ning Zhang ning.zhang@neustar.com
- Version:
- $Revision: 1.1.1.1 $
Alphabetic index HTML hierarchy of classes or Java
Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.