upnpavcontroller/upnpxmlparser/inc/upnpxmlstringutility.h
author Sampo Huttunen <sampo.huttunen@nokia.com>
Wed, 24 Nov 2010 09:39:46 +0200
branchIOP_Improvements
changeset 45 a6c41ca11adf
parent 0 7f85d04be362
permissions -rw-r--r--
Updated the SIS package, there was some BC issue with the earlier version. Also updated the platform UID to S^3 version.

/*
* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:      String Utility for UPnPXMLParse.
*
*/





#ifndef UPNPXMLSTRINGUTILITY_H_
#define UPNPXMLSTRINGUTILITY_H_

// INCLUDES

// FORWARD DECLARATIONS
class HBufC8;
class TDesC8;

// CLASS DECLARATION

/**
* Utility for working with string operation.The class
* contains static methods that can be used to modify xmldata.
* @since S60 3.2
* @lib upnpxmlparser.lib
*/
class UpnpXmlStringUtility
    {

public:

    /**
     * Remove control characters from xml data
     * @param aXmlData, a buffer for xml data.
     * @return a buffer without control characters that are of form &#XXXX;
     *         where XXXX is an integer number.
     *         If no control character return NULL.
     */
    IMPORT_C static HBufC8* RemoveXmlControlCharactersL(
        const TDesC8& aXmlData );

   };

#endif // UPNPXMLSTRINGUTILITY_H_

// End of File