|
1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 */ |
|
19 |
|
20 #ifndef __GMXMLCDATA_H__ |
|
21 #define __GMXMLCDATA_H__ |
|
22 |
|
23 #include <e32base.h> |
|
24 |
|
25 #ifndef SYMBIAN_ENABLE_SPLIT_HEADERS |
|
26 #include <gmxmldocument.h> |
|
27 #endif |
|
28 |
|
29 class CMDXMLCDATASection : public CMDXMLCharacterData |
|
30 /** A CDATA section of an XML file. |
|
31 |
|
32 Objects of this type hold text, including characters that would otherwise |
|
33 be regarded as markup. They cannot have child nodes. |
|
34 @publishedPartner |
|
35 @released |
|
36 */ |
|
37 { |
|
38 public: |
|
39 /** Allocates and constructs a new CMDXMLCDATASection, leaving the object on the |
|
40 cleanup stack. |
|
41 |
|
42 @param aOwnerDocument Pointer to the document at the root of the DOM tree |
|
43 @leave KErrNoMemory Memory allocation failed |
|
44 @return The new CMDXMCDATASection */ |
|
45 IMPORT_C static CMDXMLCDATASection* NewLC( CMDXMLDocument* aOwnerDocument ); |
|
46 |
|
47 /** Allocates and constructs a new CMDXMLCDATASection. |
|
48 |
|
49 @param aOwnerDocument Pointer to the document at the root of the DOM tree |
|
50 @leave KErrNoMemory Memory allocation failed |
|
51 @return The new CMDXMCDATASection */ |
|
52 IMPORT_C static CMDXMLCDATASection* NewL( CMDXMLDocument* aOwnerDocument ); |
|
53 |
|
54 /** Destructor. */ |
|
55 IMPORT_C virtual ~CMDXMLCDATASection(); |
|
56 |
|
57 |
|
58 protected: |
|
59 /* |
|
60 * Constructor |
|
61 * @param aOwnerDocument Pointer to the document at the root of the DOM tree |
|
62 */ |
|
63 CMDXMLCDATASection( CMDXMLDocument* aOwnerDocument ); |
|
64 }; |
|
65 |
|
66 |
|
67 #endif |