MSenContentHandlerClient.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : MSenContentHandlerClient.h
00004 *  Part of     : Web Services Xml
00005 *  Interface   : 
00006 *  Description : 
00007 *  Version     : 
00008 *
00009 *  Copyright © 2002-2005 Nokia. All rights reserved.
00010 *  This material, including documentation and any related 
00011 *  computer programs, is protected by copyright controlled by 
00012 *  Nokia. All rights are reserved. Copying, including 
00013 *  reproducing, storing, adapting or translating, any 
00014 *  or all of this material requires the prior written consent of 
00015 *  Nokia. This material also contains confidential 
00016 *  information which may not be disclosed to others without the 
00017 *  prior written consent of Nokia.
00018 * ==============================================================================
00019 */
00020 
00021 #ifndef __MSENCONTENTHANDLERCLIENT_H
00022 #define __MSENCONTENTHANDLERCLIENT_H
00023 
00024 //  INCLUDES
00025 #include <stringpool.h>
00026 #include <xml\Attribute.h>
00027 
00028 using namespace Xml;
00029 
00030 // CLASS DECLARATION
00031 
00043 class MSenContentHandlerClient
00044     {
00045     public: // New functions
00051         virtual TInt StartDocument() = 0;
00052 
00058         virtual TInt EndDocument() = 0;
00059 
00077         inline virtual TInt StartElement(   const TDesC8& /*aURI*/, 
00078                                             const TDesC8& /*aLocalName*/, 
00079                                             const TDesC8& /*aName*/, 
00080                                             const RAttributeArray& /* apAttrs */)
00081             {
00082             return KErrNotSupported;
00083             }
00084 
00098         inline virtual TInt EndElement( const TDesC8& /*aURI*/, 
00099                                         const TDesC8& /*aLocalName*/, 
00100                                         const TDesC8& /*aName*/)
00101             {
00102             return KErrNotSupported;
00103             }
00104 
00105 
00116         inline virtual TInt Characters(const TDesC8& /*aBuf*/, 
00117                                        const TInt /*aStart*/, 
00118                                        const TInt /*aLength*/)
00119             {
00120             return KErrNotSupported;
00121             }
00122 
00134         inline virtual TInt ProcessingInstructions(const TDesC8& /*aTarget*/, 
00135                                                    const TDesC8& /*aData*/)
00136             {
00137             return KErrNotSupported;
00138             }
00139 
00148         inline virtual TInt SkippedEntity(const TDesC8& /*aName*/)
00149             {
00150             return KErrNotSupported;
00151             } 
00152 
00153 
00164         inline virtual TInt Error(TInt /*aErrorCode*/)
00165             {
00166             return KErrNotSupported;
00167             }
00168 
00178         inline virtual TInt StartPrefixMappingL(  const TDesC8& /* aPrefix */, 
00179                                                   const TDesC8& /* aUri */)
00180             {
00181             return KErrNotSupported;
00182             }
00183             
00192         inline virtual TInt EndPrefixMappingL(const TDesC8& /* aPrefix */)
00193             {
00194             return KErrNotSupported;
00195             }
00196             
00205         inline virtual TInt OnIgnorableWhiteSpaceL(const TDesC8& /* aBytes */) 
00206             {
00207             return KErrNotSupported;
00208             }
00209 
00217         inline virtual TAny* GetExtendedInterface(const TInt32 /* aUid */)
00218             {
00219             return NULL;
00220             }
00221     };
00222 
00223 #endif      // __MSENCONTENTHANDLERCLIENT_H   
00224             
00225 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top