xml/xmlfw/inc/contentprocessor.h
changeset 0 e35f40988205
equal deleted inserted replaced
-1:000000000000 0:e35f40988205
       
     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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.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__