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.
18 #ifndef __CONTENTPROCESSOR_H__
19 #define __CONTENTPROCESSOR_H__
21 #include <xml/contenthandler.h>
22 #include <xml/contentsource.h>
27 class MContentProcessor : public MContentHandler, public MContentSource
29 This interface class provides an interface to plugins of the xml framework wishing
30 to receive and pass on data as part of a chain of plugins.
31 This class is not used directly, but via a derived class the user provides.
32 This will allow it to receive data, and pass data onto
33 other MContentProcessor derivations. Examples of such classes include Validator's and
46 This method allows for the correct destrution of the plugin.
48 @post the objects memory is cleaned up.
51 virtual void Release() = 0;
57 #endif //__CONTENTPROCESSOR_H__