CXmlEntity Class Reference

class CXmlEntity : public CBase

Resolves entities.

Library: FeedsEngine.lib

Since
3.0

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CXmlEntity()

CXmlEntity()[private]

C++ default constructor.

~CXmlEntity()

~CXmlEntity()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

LinearCaseOrder(const xmlEntity &, const xmlEntity &)

TInt LinearCaseOrder(const xmlEntity &aFirst,
const xmlEntity &aSecond
)[private, static]

Comparison method for iEntityMappings.

Since
3.0

Parameters

const xmlEntity & aFirst
const xmlEntity & aSecond

LinearOrder(const xmlEntity &, const xmlEntity &)

TInt LinearOrder(const xmlEntity &aFirst,
const xmlEntity &aSecond
)[private, static]

Comparison method for iEntityMappings.

Since
3.0

Parameters

const xmlEntity & aFirst
const xmlEntity & aSecond

LookupUsc2Value(const xmlChar *)

const CXmlEntity::EntityEntry &LookupUsc2Value(const xmlChar *aName)[private]

Looks up the named entity in the static table. Can NOT handle numeric entities.

Since
3.0

Parameters

const xmlChar * aNameThe name of the entity.

NewL()

CXmlEntity *NewL()[static]

Two-phased constructor.

ResolveL(const TDesC &, TUint16 &)

voidResolveL(const TDesC &aName,
TUint16 &aUcs2Value
)

Resolves the named entity into its char-value. Can handle numeric entities.

Since
3.0

Parameters

const TDesC & aNameThe name of the entity.
TUint16 & aUcs2ValueThe resulting value.

ResolveL(const xmlChar *)

const xmlEntity *ResolveL(const xmlChar *aName)

Resolves the named entity into its xmlEntity. Can NOT handle numeric entities.

Since
3.0

Parameters

const xmlChar * aNameThe name of the entity.

ResolveNumericL(const TDesC &, TUint16 &)

TBool ResolveNumericL(const TDesC &aName,
TUint16 &aUcs2Value
)[private]

Resolves the numeric entity into it's value.

Since
3.0

Parameters

const TDesC & aNameThe name of the entity.
TUint16 & aUcs2ValueThe resulting value.

Member Data Documentation

RArray< xmlEntity > iEntityMappings

RArray< xmlEntity >iEntityMappings[private]

TLeakTracker iLeakTracker

TLeakTracker iLeakTracker[private]