MGECOAttributeProvider Class Reference

class MGECOAttributeProvider

Attribute provider interface that content object factories must implement to allow generic access to attribute names/values/localisation reference ids and possible object text data in string format.

XCFW.lib
Since
Series 60 3.1

Member Functions Documentation

AttributeDetailsL(const TInt, TPtrC &, TPtrC &, TBool &)

void AttributeDetailsL ( const TInt aIndex,
TPtrC & aAttrName,
TPtrC & aAttrValue,
TBool & aIsLocalized
) [pure virtual]
Returns name, value and localization status of an attribute
Since
Series 60 3.1

Parameters

const TInt aIndex Index of attribute to get.
TPtrC & aAttrName
TPtrC & aAttrValue
TBool & aIsLocalized Attribute localization status returned

AttributeDetailsL(const TInt, TPtrC &, TPtrC &)

void AttributeDetailsL ( const TInt aIndex,
TPtrC & aAttrName,
TPtrC & aAttrValue
) [pure virtual]
Returns name and value of an attribute
Since
Series 60 3.1

Parameters

const TInt aIndex Index of attribute to get.
TPtrC & aAttrName
TPtrC & aAttrValue

HasTextData()

TBool HasTextData ( ) [pure virtual]
Returns ETrue if object / tag has text data
Since
Series 60 3.1

NumAttributes()

TInt NumAttributes ( ) [pure virtual]
Returns number of attributes for this object / tag
Since
Series 60 3.1

TextDetailsL(TPtrC &, TBool &)

void TextDetailsL ( TPtrC & aText,
TBool & aIsLocalized
) [pure virtual]
Returns XML node / content object text data if any
Since
Series 60 3.1

Parameters

TPtrC & aText Text data returned
TBool & aIsLocalized Textdata localization status returned