epoc32/include/xmlengdataserializer.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
equal deleted inserted replaced
1:666f914201fb 2:2fe1408b6811
     1 xmlengdataserializer.h
     1 /*
       
     2 * Copyright (c) 2006-2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * 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
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:       Interface class describing class that may be used as
       
    15 *                serializer for binary data
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef XMLENGINE_MDATASERIALIZER_H_INCLUDED
       
    26 #define XMLENGINE_MDATASERIALIZER_H_INCLUDED
       
    27 
       
    28 #include "xmlengnode.h"
       
    29 
       
    30 /**
       
    31  * MXmlEngDataSerializer interface used by XML Engine to serialize binary data for example binary data
       
    32  * stored in node, external memory chunk (RChunk) or file. This interface may be implemented by client application.
       
    33  *
       
    34  * @lib XmlEngineDOM.lib
       
    35  * @since S60 v3.2
       
    36  */
       
    37 class MXmlEngDataSerializer
       
    38     {
       
    39 public:
       
    40     /**
       
    41      * Callback for serializing data
       
    42      *
       
    43      * @since S60 v3.1
       
    44      * @param aNode is a node to serialize
       
    45      * @return Replacement string for node data
       
    46      */
       
    47     virtual TPtrC8 SerializeDataL(TXmlEngNode aNode) = 0;
       
    48     };
       
    49 
       
    50 
       
    51 #endif /* XMLENGINE_MDATASERIALIZER_H_INCLUDED */