CXCFWEntityConverter Class Reference

class CXCFWEntityConverter

Entity converter dummy implementation for GMXML parser. XCFW does the localization related entity conversion during DOM to XCFW tree parsing, this class is needed only because GMXML would otherwise turn any & character it finds into a & entity.

XCFW.lib
Since
Series 60 3.1
Public Member Functions
CXCFWEntityConverter()
~CXCFWEntityConverter()
IMPORT_C TIntOutputComposedTextL(CMDXMLComposer *, const TDesC &)
Protected Member Functions
TInt DTDEntityToText(TDes &)

Constructor & Destructor Documentation

CXCFWEntityConverter()

IMPORT_CCXCFWEntityConverter()

Constructor

~CXCFWEntityConverter()

IMPORT_C~CXCFWEntityConverter()[virtual]

Destructor.

Member Functions Documentation

DTDEntityToText(TDes &)

TInt DTDEntityToText(TDes &aTextToConvert)[protected]

From CMDXMLEntityConverter DTD Specific entity to text converter

Parameters

TDes & aTextToConvertText to be converted - replacement text goes out in the same

OutputComposedTextL(CMDXMLComposer *, const TDesC &)

IMPORT_C TIntOutputComposedTextL(CMDXMLComposer *aComposer,
const TDesC &aTextToConvert
)
From CMDXMLEntityConverter Outputs a block of text to a composer with offending characters replaced by entity references.
Exceptions
can

Leave due to OOM

Parameters

CMDXMLComposer * aComposerthe composer to be used for output
const TDesC & aTextToConvertThe text to be converted.