sbDOMNodeAttributes Class Reference

Public Member Functions

 sbDOMNodeAttributes (nsIDOMNode *aNode)
 
nsresult GetValue (nsAString const &aName, nsAString &aValue)
 
nsresult GetValue (nsAString const &aName, PRInt32 &aValue)
 

Detailed Description

Helper class that is used to retrieve attribute values from DOM node

Definition at line 362 of file sbDeviceXMLCapabilities.cpp.

Constructor & Destructor Documentation

sbDOMNodeAttributes::sbDOMNodeAttributes ( nsIDOMNode *  aNode)
inline

Initialize the object with a DOM node

Definition at line 368 of file sbDeviceXMLCapabilities.cpp.

Member Function Documentation

nsresult sbDOMNodeAttributes::GetValue ( nsAString const &  aName,
nsAString &  aValue 
)
inline

Retrieves a string attribute value

Parameters
aNameThe name of the attribute
aValueThe string to receive the value

Definition at line 380 of file sbDeviceXMLCapabilities.cpp.

Here is the caller graph for this function:

nsresult sbDOMNodeAttributes::GetValue ( nsAString const &  aName,
PRInt32 &  aValue 
)
inline

Retrieve an integer attribute value

Parameters
aNameThe name of the attribute
aValueThe integer to receive the value

Definition at line 403 of file sbDeviceXMLCapabilities.cpp.

Here is the call graph for this function:


The documentation for this class was generated from the following file: