epoc32/include/xmlengcharacterdata.h
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
     1.1 --- a/epoc32/include/xmlengcharacterdata.h	Tue Mar 16 16:12:26 2010 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,105 +0,0 @@
     1.4 -/*
     1.5 -* Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies). 
     1.6 -* All rights reserved.
     1.7 -* This component and the accompanying materials are made available
     1.8 -* 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
     1.9 -* which accompanies this distribution, and is available
    1.10 -* at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
    1.11 -*
    1.12 -* Initial Contributors:
    1.13 -* Nokia Corporation - initial contribution.
    1.14 -*
    1.15 -* Contributors:
    1.16 -*
    1.17 -* Description:       All text nodes functions
    1.18 -*
    1.19 -*/
    1.20 -
    1.21 -
    1.22 -
    1.23 -
    1.24 -
    1.25 -
    1.26 -
    1.27 -#ifndef XMLENGINE_CHARACTERDATA_H_INCLUDED
    1.28 -#define XMLENGINE_CHARACTERDATA_H_INCLUDED
    1.29 -
    1.30 -#include "xmlengnode.h"
    1.31 -
    1.32 -/**
    1.33 -* Instance of TXmlEngCharacterData class represents all kinds of XML text nodes 
    1.34 -* (i.e. text node, comment node) in the DOM tree.
    1.35 -*
    1.36 -* Describe DOM action for nodes that contains text data.
    1.37 -* DOM spec: 
    1.38 -* http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-FF21A306
    1.39 -*
    1.40 -* @lib XmlEngineDOM.lib
    1.41 -* @since S60 v3.1
    1.42 -*/
    1.43 -class TXmlEngCharacterData : public TXmlEngNode
    1.44 -{
    1.45 -public:
    1.46 -
    1.47 -    /**
    1.48 -     * Get content of the node.
    1.49 -     *
    1.50 -     * @since S60 v3.1
    1.51 -     * @return String with nodes content
    1.52 -     * 
    1.53 -     * This method applies to TXmlEngCDATASection, TXmlEngComment and TXmlEngTextNode nodes.
    1.54 -     */
    1.55 -    IMPORT_C TPtrC8 Contents() const;
    1.56 -    
    1.57 -    /**
    1.58 -     * Sets contents of basic character nodes: TXmlEngTextNode, TXmlEngComment, TXmlEngCDATASection
    1.59 -     *
    1.60 -     * @since S60 v3.1
    1.61 -     * @param aNewContents  The actual value to store
    1.62 -     * 
    1.63 -     * The input is taken as non-escaped: for example, 
    1.64 -     * aNewContents = "123 > 34 && P" will be serialized as "123 > 34 && P"
    1.65 -     * 
    1.66 -     * Escaped contents may be set only for TXmlEngElement and TXmlEngAttr nodes.
    1.67 -     * @see TXmlEngAttr::SetEscapedValueL(const TDesC8&), TXmlEngElement::SetEscapedTextL(const TDesC8&), 
    1.68 -     */
    1.69 -    IMPORT_C void SetContentsL(const TDesC8& aNewContents);
    1.70 -
    1.71 -    /**
    1.72 -     * Extends the contents of the node by appending aString
    1.73 -     *
    1.74 -     * @since S60 v3.1
    1.75 -     * @param aString Content to be added to current content
    1.76 -     */
    1.77 -    IMPORT_C void AppendContentsL(const TDesC8& aString);
    1.78 -
    1.79 -    /**
    1.80 -     * Get length of the content
    1.81 -     *
    1.82 -     * @since S60 v3.1
    1.83 -     * @return Number of characters in the contents
    1.84 -     */
    1.85 -    IMPORT_C TUint Length() const;
    1.86 -
    1.87 -protected:
    1.88 -    /**
    1.89 -     * Default constructor
    1.90 -	 *
    1.91 -     * @since S60 v3.1
    1.92 -     */
    1.93 -	inline TXmlEngCharacterData(); // protected from API users
    1.94 -
    1.95 -    /**
    1.96 -     * Constructor
    1.97 -     *
    1.98 -     * @since S60 v3.1
    1.99 -     * @param aInternal node pointer
   1.100 -     */
   1.101 -	inline TXmlEngCharacterData(void* aInternal);
   1.102 -};
   1.103 -
   1.104 -
   1.105 -#include "xmlengcharacterdata.inl"
   1.106 -
   1.107 -#endif /* XMLENGINE_CHARACTERDATA_H_INCLUDED */
   1.108 -