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
Public Member Functions
voidAttributeDetailsL(const TInt, TPtrC &, TPtrC &, TBool &)
voidAttributeDetailsL(const TInt, TPtrC &, TPtrC &)
TBool HasTextData()
TInt NumAttributes()
voidTextDetailsL(TPtrC &, TBool &)

Member Functions Documentation

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

voidAttributeDetailsL(const TIntaIndex,
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 aIndexIndex of attribute to get.
TPtrC & aAttrName
TPtrC & aAttrValue
TBool & aIsLocalizedAttribute localization status returned

AttributeDetailsL(const TInt, TPtrC &, TPtrC &)

voidAttributeDetailsL(const TIntaIndex,
TPtrC &aAttrName,
TPtrC &aAttrValue
)[pure virtual]
Returns name and value of an attribute
Since
Series 60 3.1

Parameters

const TInt aIndexIndex 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 &)

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

Parameters

TPtrC & aTextText data returned
TBool & aIsLocalizedTextdata localization status returned