API published in: S60 3rd Ed
Link against: senxml.lib
Required Capabilities
None
#include <senxmlreader.h>
Public Member Functions |
|
virtual IMPORT_C | ~CSenXmlReader () |
Destructor. |
|
virtual IMPORT_C void | SetContentHandler (MSenContentHandlerClient &aContentHandler) |
Method to allow client to register a content event handler (for XML) for the current reader. |
|
virtual IMPORT_C TInt | EnabledParserFeature () |
Method for checking which feature has been enabled in the parser. |
|
virtual IMPORT_C TInt | ParserFeature () |
DEPRECATED. |
|
TInt | SetParserFeature (TInt aParserFeature) |
Method for enabling a parser feature. |
|
IMPORT_C void | ParseL (const TDesC8 &aBuff) |
Parse an XML buffer. |
|
IMPORT_C void | ParseL (RFs &aRFs, const TDesC &aFileToParse) |
Parse an XML document. |
|
virtual void | OnStartDocumentL (const RDocumentParameters &aDocParam, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnEndDocumentL (TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnStartElementL (const RTagInfo &aElement, const RAttributeArray &aAttributes, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnEndElementL (const RTagInfo &aElement, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnContentL (const TDesC8 &aBytes, TInt aErrorCode) |
virtual void | OnStartPrefixMappingL (const RString &aPrefix, const RString &aUri, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnEndPrefixMappingL (const RString &aPrefix, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnIgnorableWhiteSpaceL (const TDesC8 &aBytes, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnSkippedEntityL (const RString &aName, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnProcessingInstructionL (const TDesC8 &aTarget, const TDesC8 &aData, TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual void | OnError (TInt aErrorCode) |
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. |
|
virtual TAny * | GetExtendedInterface (const TInt32 aUid) |
This method obtains the interface matching the specified UID. |
|
Static Public Member Functions |
|
static IMPORT_C CSenXmlReader * | NewL () |
Standard two-phase constructor. |
|
static IMPORT_C CSenXmlReader * | NewLC () |
Standard two-phase constructor. |
|
static IMPORT_C CSenXmlReader * | NewL (TInt aParserFeature) |
A constructor with parser feature enabling. |
|
static IMPORT_C CSenXmlReader * | NewLC (TInt aParserFeature) |
A constructor with parser feature enabling. |
|
Protected Member Functions |
|
IMPORT_C | CSenXmlReader (TInt aParserFeature) |
C++ constructor. |
|
void | ConstructL () |
Symbian 2nd phase constructor. |
|
void | RecreateParserL () |
This method re-initializes encapsulated CParser class instance. |
|
Destructor. |
|
C++ constructor. |
|
Symbian 2nd phase constructor. |
|
Method for checking which feature has been enabled in the parser.
|
|
This method obtains the interface matching the specified UID.
|
|
A constructor with parser feature enabling.
|
|
Standard two-phase constructor.
|
|
A constructor with parser feature enabling.
|
|
Standard two-phase constructor.
|
|
|
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Leave codes: KErrSenXmlContentHandlerNotSet if XML content handler for this XML reader has not been set. This leave can be avoided calling SetContentHandlerL() method prior parsing some XML document. |
|
Parse an XML document.
|
|
Parse an XML buffer.
|
|
DEPRECATED. Use EnabledParserFeature() instead. |
|
This method re-initializes encapsulated CParser class instance. |
|
Method to allow client to register a content event handler (for XML) for the current reader.
|
|
Method for enabling a parser feature.
|