upnpavcontroller/upnpxmlparser/inc/upnpxmlstringutility.h
changeset 0 7f85d04be362
equal deleted inserted replaced
-1:000000000000 0:7f85d04be362
       
     1 /*
       
     2 * Copyright (c) 2008 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 "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:      String Utility for UPnPXMLParse.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 #ifndef UPNPXMLSTRINGUTILITY_H_
       
    23 #define UPNPXMLSTRINGUTILITY_H_
       
    24 
       
    25 // INCLUDES
       
    26 
       
    27 // FORWARD DECLARATIONS
       
    28 class HBufC8;
       
    29 class TDesC8;
       
    30 
       
    31 // CLASS DECLARATION
       
    32 
       
    33 /**
       
    34 * Utility for working with string operation.The class
       
    35 * contains static methods that can be used to modify xmldata.
       
    36 * @since S60 3.2
       
    37 * @lib upnpxmlparser.lib
       
    38 */
       
    39 class UpnpXmlStringUtility
       
    40     {
       
    41 
       
    42 public:
       
    43 
       
    44     /**
       
    45      * Remove control characters from xml data
       
    46      * @param aXmlData, a buffer for xml data.
       
    47      * @return a buffer without control characters that are of form &#XXXX;
       
    48      *         where XXXX is an integer number.
       
    49      *         If no control character return NULL.
       
    50      */
       
    51     IMPORT_C static HBufC8* RemoveXmlControlCharactersL(
       
    52         const TDesC8& aXmlData );
       
    53 
       
    54    };
       
    55 
       
    56 #endif // UPNPXMLSTRINGUTILITY_H_
       
    57 
       
    58 // End of File