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

Constructor & Destructor Documentation

CXCFWEntityConverter()

IMPORT_C CXCFWEntityConverter ( )

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 & aTextToConvert Text to be converted - replacement text goes out in the same

OutputComposedTextL(CMDXMLComposer *, const TDesC &)

IMPORT_C TInt OutputComposedTextL ( 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 * aComposer the composer to be used for output
const TDesC & aTextToConvert The text to be converted.