class EppSvcsubParam

This EppSvcsubParam class implements EPP Svcsub Param entity.

Inheritance:


Public Methods

[more] EppSvcsubParam()
Creates an EppSvcsubParam object
[more] EppSvcsubParam( DOMString name, DOMString value )
Creates an EppSvcsubParam object with the id of a svcsub name and a value string
[more] ~EppSvcsubParam()
Destructor
[more]DOMString getName()
Gets the name of the parameter
[more]void setName( DOMString name )
Sets the name of the parameter
[more]DOMString getValue()
Gets the value of the parameter
[more]void setValue( DOMString value )
Sets the value of the parameter
[more]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
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppSvcsubParam object into an XML element
[more]static EppSvcsubParam* fromXML( const DOM_Node& root )
Converts an XML element into an EppSvcsubParam object.


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 EppSvcsubParam class implements EPP Svcsub Param entity. Currently, only EPP Svcsub objects have Svcsub params defined:

o EppSvcsubParam()
Creates an EppSvcsubParam object

o EppSvcsubParam( DOMString name, DOMString value )
Creates an EppSvcsubParam object with the id of a svcsub name and a value string

o ~EppSvcsubParam()
Destructor

oDOMString getName()
Gets the name of the parameter

ovoid setName( DOMString name )
Sets the name of the parameter

oDOMString getValue()
Gets the value of the parameter

ovoid setValue( DOMString value )
Sets the value of the parameter

ostatic 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

oDOM_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

ostatic 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.