RXMLReader Class Reference

class RXMLReader

Interface for XML Parser.

XMLInterface.dll
Since
?Series60_version
Public Member Functions
RXMLReader ()
IMPORT_C void Close ()
IMPORT_C void CreateL ()
IMPORT_C void Destroy ()
IMPORT_C TInt GetFeature ( TXMLFeature , TBool &)
IMPORT_C void ParseL ( RFs &, const TDesC &)
IMPORT_C void ParseL (const TDesC8 &)
IMPORT_C void ParseL ( RFile &)
IMPORT_C TInt SetContentHandler ( MXMLContentHandler *)
IMPORT_C TInt SetContentHandler ( MWBXMLContentHandler *)
IMPORT_C TInt SetFeature ( TXMLFeature , TBool )
Private Attributes
CXMLReader * iImplementation

Constructor & Destructor Documentation

RXMLReader()

RXMLReader ( ) [inline]

Member Functions Documentation

Close()

IMPORT_C void Close ( )

Destroys the parser.

CreateL()

IMPORT_C void CreateL ( )

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

Destroy()

IMPORT_C void Destroy ( )

Destroys the parser.

GetFeature(TXMLFeature, TBool &)

IMPORT_C TInt GetFeature ( TXMLFeature aFeature,
TBool & aStatus
)
Check if a feature is Enabled.
Since
?Series60_version

Parameters

TXMLFeature aFeature
TBool & aStatus

ParseL(RFs &, const TDesC &)

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

Parameters

RFs & aRFs
const TDesC & aFileToParse

ParseL(const TDesC8 &)

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

Parameters

const TDesC8 & aBuff

ParseL(RFile &)

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

Parameters

RFile & aOpenedFile

SetContentHandler(MXMLContentHandler *)

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

Parameters

MXMLContentHandler * aContentHandler

SetContentHandler(MWBXMLContentHandler *)

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

Parameters

MWBXMLContentHandler * aContentHandler

SetFeature(TXMLFeature, TBool)

IMPORT_C TInt SetFeature ( TXMLFeature aFeature,
TBool aStatus
)
Enables/Dissables a feature.
Since
?Series60_version

Parameters

TXMLFeature aFeature
TBool aStatus

Member Data Documentation

CXMLReader * iImplementation

CXMLReader * iImplementation [private]