RXMLReader Class Reference

class RXMLReader

Interface for XML Parser.

XMLInterface.dll
Since
?Series60_version
Public Member Functions
RXMLReader()
IMPORT_C voidClose()
IMPORT_C voidCreateL()
IMPORT_C voidDestroy()
IMPORT_C TIntGetFeature(TXMLFeature, TBool &)
IMPORT_C voidParseL(RFs &, const TDesC &)
IMPORT_C voidParseL(const TDesC8 &)
IMPORT_C voidParseL(RFile &)
IMPORT_C TIntSetContentHandler(MXMLContentHandler *)
IMPORT_C TIntSetContentHandler(MWBXMLContentHandler *)
IMPORT_C TIntSetFeature(TXMLFeature, TBool)
Private Attributes
CXMLReader *iImplementation

Constructor & Destructor Documentation

RXMLReader()

RXMLReader()[inline]

Member Functions Documentation

Close()

IMPORT_C voidClose()

Destroys the parser.

CreateL()

IMPORT_C voidCreateL()

Creates the parser. This function leaves with an apropriate code if the create failed.

Destroy()

IMPORT_C voidDestroy()

Destroys the parser.

GetFeature(TXMLFeature, TBool &)

IMPORT_C TIntGetFeature(TXMLFeatureaFeature,
TBool &aStatus
)
Check if a feature is Enabled.
Since
?Series60_version

Parameters

TXMLFeature aFeature
TBool & aStatus

ParseL(RFs &, const TDesC &)

IMPORT_C voidParseL(RFs &aRFs,
const TDesC &aFileToParse
)
Parse an XML document.
Since
?Series60_version

Parameters

RFs & aRFs
const TDesC & aFileToParse

ParseL(const TDesC8 &)

IMPORT_C voidParseL(const TDesC8 &aBuff)
Parse an XML document.
Since
?Series60_version

Parameters

const TDesC8 & aBuff

ParseL(RFile &)

IMPORT_C voidParseL(RFile &aOpenedFile)
Parse an XML document.
Since
?Series60_version

Parameters

RFile & aOpenedFile

SetContentHandler(MXMLContentHandler *)

IMPORT_C TIntSetContentHandler(MXMLContentHandler *aContentHandler)
Allow an application to register a content event handler (for XML).
Since
?Series60_version

Parameters

MXMLContentHandler * aContentHandler

SetContentHandler(MWBXMLContentHandler *)

IMPORT_C TIntSetContentHandler(MWBXMLContentHandler *aContentHandler)
Allow an application to register a content event handler (for WBXML).
Since
?Series60_version

Parameters

MWBXMLContentHandler * aContentHandler

SetFeature(TXMLFeature, TBool)

IMPORT_C TIntSetFeature(TXMLFeatureaFeature,
TBoolaStatus
)
Enables/Dissables a feature.
Since
?Series60_version

Parameters

TXMLFeature aFeature
TBool aStatus

Member Data Documentation

CXMLReader * iImplementation

CXMLReader *iImplementation[private]