CSenBaseAttribute Class Reference
#include
<mw/SenBaseAttribute.h>
class CSenBaseAttribute : public CBase |
Detailed Description
Class offers basic implementation of an XML attribute XML attribute is a name-value pair type value object, which may or may not have a namespace prefix. Note that both name and value may contain a namespace prefix.
- Since
- Series60 3.0
Constructor & Destructor Documentation
CSenBaseAttribute ( )
IMPORT_C | CSenBaseAttribute | ( | ) | [protected] |
C++ default constructor
- Since
- Series60 3.0
~CSenBaseAttribute ( )
IMPORT_C | ~CSenBaseAttribute | ( | ) | [virtual] |
Member Function Documentation
BaseConstructL ( const TDesC8 &, const TDesC8 & )
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aName, |
| const TDesC8 & | aValue |
| ) | [protected] |
Following BaseConstructL methods should be called from the deriving classes ConstructL() methods. Parameter info is found in the corresponding NewL-methods.
- Since
- Series60 3.0
Parameter | Description | aName | is the name of this attribute. Cannot contain characters that are illegal in XML (like basic entities in decoded form) |
aValue | is the value of this attribute. Cannot contain characters that are illegal in XML (like basic entities in decoded form) |
BaseConstructL ( const TDesC8 &, const TDesC8 &, const TDesC8 & )
IMPORT_C void | BaseConstructL | ( | const TDesC8 & | aName, |
| const TDesC8 & | aQName, |
| const TDesC8 & | aValue |
| ) | [protected] |
Parameter | Description | aName | is the name of this attribute. Cannot contain characters that are illegal in XML (like basic entities in decoded form) |
aQName | is the qualified, prefixed name of this XML attribute. Cannot contain characters which are illegal in XML. |
aValue | is the value of this attribute. Cannot contain characters that are illegal in XML (like basic entities in decoded form) |
Name ( )
const TDesC8 & | Name | ( | ) | const [virtual] |
Getter for the attribute name.
- Since
- Series60 3.0
Returns: the attribute name.
NewL ( const TDesC8 &, const TDesC8 & )
Basic two-phased constructor.
- Since
- Series60 3.0
NewL ( const TDesC8 &, const TDesC8 &, const TDesC8 & )
Basic constructor.
- Since
- Series60 3.0
SetValueL ( const TDesC8 & )
Setter for the attribute value.
- Since
- Series60 3.0
Value ( )
const TDesC8 & | Value | ( | ) | const [virtual] |
Getter for the attribute value.
- Since
- Series60 3.0
Returns: the attribute value.