CSenBaseAttribute Class Reference

class CSenBaseAttribute : public CBase
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. SenXML.dll
Since
Series60 3.0

Inherits from

Constructor & Destructor Documentation

CSenBaseAttribute()

IMPORT_C CSenBaseAttribute ( ) [protected]
C++ default constructor
Since
Series60 3.0

~CSenBaseAttribute()

IMPORT_C ~CSenBaseAttribute ( ) [virtual]

Destructor.

Member Functions 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

Parameters

const TDesC8 & aName is the name of this attribute. Cannot contain characters that are illegal in XML (like basic entities in decoded form)
const TDesC8 & 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]
Since
Series60 3.0

Parameters

const TDesC8 & aName is the name of this attribute. Cannot contain characters that are illegal in XML (like basic entities in decoded form)
const TDesC8 & aQName is the qualified, prefixed name of this XML attribute. Cannot contain characters which are illegal in XML.
const TDesC8 & 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

NewL(const TDesC8 &, const TDesC8 &)

IMPORT_C CSenBaseAttribute * NewL ( const TDesC8 & aName,
const TDesC8 & aValue
) [static]
Basic two-phased constructor.
Since
Series60 3.0

Parameters

const TDesC8 & aName
const TDesC8 & aValue

NewL(const TDesC8 &, const TDesC8 &, const TDesC8 &)

IMPORT_C CSenBaseAttribute * NewL ( const TDesC8 & aQName,
const TDesC8 & aName,
const TDesC8 & aValue
) [static]
Basic constructor.
Since
Series60 3.0

Parameters

const TDesC8 & aQName
const TDesC8 & aName
const TDesC8 & aValue

SetValueL(const TDesC8 &)

const TDesC8 & SetValueL ( const TDesC8 & aValue ) [virtual]
Setter for the attribute value.
Since
Series60 3.0

Parameters

const TDesC8 & aValue

Value()

const TDesC8 & Value ( ) const [virtual]
Getter for the attribute value.
Since
Series60 3.0

Member Data Documentation

HBufC8 * ipName

HBufC8 * ipName [private]

HBufC8 * ipValue

HBufC8 * ipValue [private]