Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
1 // Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 XML Framework CParser API header file.
28 #include <xml/contentprocessoruids.h> // needed for the typedef
29 #include <xml/plugins/elementstack.h> // needed for the typedef
37 class MContentHandler;
38 class RStringDictionaryCollection;
43 If you need to parse xml this is the class you need to use.
45 Default plain-text XML parser plug-in supports following character set encodings:
57 class CParser : public CBase
60 static IMPORT_C CParser* NewL(const TDesC8& aParserMimeType, MContentHandler& aCallback);
61 static IMPORT_C CParser* NewLC(const TDesC8& aParserMimeType, MContentHandler& aCallback);
63 static IMPORT_C CParser* NewL(const CMatchData& aCriteria, MContentHandler& aCallback);
64 static IMPORT_C CParser* NewLC(const CMatchData& aCriteria, MContentHandler& aCallback);
68 IMPORT_C void ParseBeginL();
69 IMPORT_C void ParseBeginL(const TDesC8& aDocumentMimeType);
70 IMPORT_C void ParseBeginL(const CMatchData& aCriteria);
71 IMPORT_C void ParseL(const TDesC8& aFragment);
72 IMPORT_C void ParseEndL();
74 IMPORT_C void SetProcessorChainL(const RContentProcessorUids& aPlugins);
76 IMPORT_C TInt EnableFeature(TInt aParserFeature);
77 IMPORT_C TInt DisableFeature(TInt aParserFeature);
78 IMPORT_C TBool IsFeatureEnabled(TInt aParserFeature) const;
80 IMPORT_C void AddPreloadedDictionaryL(const TDesC8& aPublicId);
82 IMPORT_C RStringPool& StringPool();
83 IMPORT_C RStringDictionaryCollection& StringDictionaryCollection();
87 void ConstructL(const TDesC8& aParserMimeType, MContentHandler& aCallback);
88 void ConstructL(const CMatchData& aMatchData, MContentHandler& aCallback);
92 IMPORT_C void ParseL(CParser& aParser, const TDesC8& aDocument);
93 IMPORT_C void ParseL(CParser& aParser, RFs& aFs, const TDesC& aFilename);
94 IMPORT_C void ParseL(CParser& aParser, RFile& aFile);