Xml::CParser Class Reference

class Xml::CParser : public CBase

If you need to parse xml this is the class you need to use.

Default plain-text XML parser plug-in supports following character set encodings:

ISO_8859_1 US_ASCII UTF_8 UTF_16 UTF_16BE UTF_16LE

Inherits from

Public Member Functions
~CParser()
IMPORT_C voidAddPreloadedDictionaryL(const TDesC8 &)
IMPORT_C TIntDisableFeature(TInt)
IMPORT_C TIntEnableFeature(TInt)
IMPORT_C TBoolIsFeatureEnabled(TInt)
IMPORT_C CParser *NewL(const TDesC8 &, MContentHandler &)
IMPORT_C CParser *NewL(const CMatchData &, MContentHandler &)
IMPORT_C CParser *NewLC(const TDesC8 &, MContentHandler &)
IMPORT_C CParser *NewLC(const CMatchData &, MContentHandler &)
IMPORT_C voidParseBeginL()
IMPORT_C voidParseBeginL(const TDesC8 &)
IMPORT_C voidParseBeginL(const CMatchData &)
IMPORT_C voidParseEndL()
IMPORT_C voidParseL(const TDesC8 &)
IMPORT_C voidSetProcessorChainL(const RContentProcessorUids &)
IMPORT_C RStringDictionaryCollection &StringDictionaryCollection()
IMPORT_C RStringPool &StringPool()
Private Member Functions
CParser()
voidConstructL(const TDesC8 &, MContentHandler &)
voidConstructL(const CMatchData &, MContentHandler &)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
TParserImpl *iImpl

Constructor & Destructor Documentation

CParser()

CParser()[private]

~CParser()

~CParser()[virtual]

Member Functions Documentation

AddPreloadedDictionaryL(const TDesC8 &)

IMPORT_C voidAddPreloadedDictionaryL(const TDesC8 &aPublicId)

Parameters

const TDesC8 & aPublicId

ConstructL(const TDesC8 &, MContentHandler &)

voidConstructL(const TDesC8 &aParserMimeType,
MContentHandler &aCallback
)[private]

Parameters

const TDesC8 & aParserMimeType
MContentHandler & aCallback

ConstructL(const CMatchData &, MContentHandler &)

voidConstructL(const CMatchData &aMatchData,
MContentHandler &aCallback
)[private]

Parameters

const CMatchData & aMatchData
MContentHandler & aCallback

DisableFeature(TInt)

IMPORT_C TIntDisableFeature(TIntaParserFeature)

Parameters

TInt aParserFeature

EnableFeature(TInt)

IMPORT_C TIntEnableFeature(TIntaParserFeature)

Parameters

TInt aParserFeature

IsFeatureEnabled(TInt)

IMPORT_C TBoolIsFeatureEnabled(TIntaParserFeature)const

Parameters

TInt aParserFeature

NewL(const TDesC8 &, MContentHandler &)

IMPORT_C CParser *NewL(const TDesC8 &aParserMimeType,
MContentHandler &aCallback
)[static]

Parameters

const TDesC8 & aParserMimeType
MContentHandler & aCallback

NewL(const CMatchData &, MContentHandler &)

IMPORT_C CParser *NewL(const CMatchData &aCriteria,
MContentHandler &aCallback
)[static]

Parameters

const CMatchData & aCriteria
MContentHandler & aCallback

NewLC(const TDesC8 &, MContentHandler &)

IMPORT_C CParser *NewLC(const TDesC8 &aParserMimeType,
MContentHandler &aCallback
)[static]

Parameters

const TDesC8 & aParserMimeType
MContentHandler & aCallback

NewLC(const CMatchData &, MContentHandler &)

IMPORT_C CParser *NewLC(const CMatchData &aCriteria,
MContentHandler &aCallback
)[static]

Parameters

const CMatchData & aCriteria
MContentHandler & aCallback

ParseBeginL()

IMPORT_C voidParseBeginL()

ParseBeginL(const TDesC8 &)

IMPORT_C voidParseBeginL(const TDesC8 &aDocumentMimeType)

Parameters

const TDesC8 & aDocumentMimeType

ParseBeginL(const CMatchData &)

IMPORT_C voidParseBeginL(const CMatchData &aCriteria)

Parameters

const CMatchData & aCriteria

ParseEndL()

IMPORT_C voidParseEndL()

ParseL(const TDesC8 &)

IMPORT_C voidParseL(const TDesC8 &aFragment)

Parameters

const TDesC8 & aFragment

SetProcessorChainL(const RContentProcessorUids &)

IMPORT_C voidSetProcessorChainL(const RContentProcessorUids &aPlugins)

Parameters

const RContentProcessorUids & aPlugins

StringDictionaryCollection()

IMPORT_C RStringDictionaryCollection &StringDictionaryCollection()

StringPool()

IMPORT_C RStringPool &StringPool()

Member Data Documentation

TParserImpl * iImpl

TParserImpl *iImpl[private]