epoc32/include/xml/contentprocessor.h
author William Roberts <williamr@symbian.org>
Tue, 16 Mar 2010 16:12:26 +0000
branchSymbian2
changeset 2 2fe1408b6811
permissions -rw-r--r--
Final list of Symbian^2 public API header files
     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".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // Plugin interface
    15 // 
    16 //
    17 
    18 #ifndef __CONTENTPROCESSOR_H__
    19 #define __CONTENTPROCESSOR_H__
    20 
    21 #include <xml/contenthandler.h>
    22 #include <xml/contentsource.h>
    23 
    24 namespace Xml
    25 {
    26 
    27 class MContentProcessor : public MContentHandler, public MContentSource
    28 /**
    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 
    34 AutoCorrector's.
    35 @see MContentHandler
    36 @see ECom
    37 
    38 
    39 @publishedPartner
    40 @released
    41 */
    42 	{
    43 public:
    44 
    45 /**
    46 This method allows for the correct destrution of the plugin.
    47 
    48 @post				the objects memory is cleaned up.
    49 
    50 */
    51 	virtual void Release() = 0;
    52 
    53 	};
    54 
    55 }
    56 
    57 #endif //__CONTENTPROCESSOR_H__