|
1 /* |
|
2 * Copyright (c) 2002-2004 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: Visitor class to modify DOM node element's data |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef XN_DOM_VISITOR_H |
|
21 #define XN_DOM_VISITOR_H |
|
22 |
|
23 #include <e32base.h> |
|
24 #include "mxndomvisitor.h" |
|
25 |
|
26 // CLASS FORWARD |
|
27 |
|
28 |
|
29 // CLASS DECLARATION |
|
30 |
|
31 /** |
|
32 * Visitor class modifies DOM node element's data. |
|
33 * |
|
34 * @lib xndomvisitor.dll |
|
35 * @since Series 60 3.1 |
|
36 */ |
|
37 class CXnDomVisitor: public CBase, public MXnDomVisitor |
|
38 { |
|
39 public: |
|
40 /** |
|
41 * NewL construction |
|
42 */ |
|
43 static MXnDomVisitor* NewL(); |
|
44 |
|
45 public: // New functions |
|
46 |
|
47 /** |
|
48 * Documented in MXnDomVisitor::IsVersion |
|
49 */ |
|
50 TBool IsVersion( const TDesC8& aVersion ); |
|
51 |
|
52 /** |
|
53 * Documented in MXnDomVisitor::ModifyDataL |
|
54 */ |
|
55 void ModifyDataL( CXnDomNode& aNode ); |
|
56 |
|
57 /** |
|
58 * Documented in MXnDomVisitor::SetElementTypeL |
|
59 */ |
|
60 void SetElementTypeL( CXnDomNode& aNode ); |
|
61 |
|
62 /** |
|
63 * Documented in MXnDomVisitor::SetDtorKey |
|
64 */ |
|
65 void SetDtorKey( const TUid aDtorKey ); |
|
66 |
|
67 /** |
|
68 * Documented in MXnDomVisitor::Release |
|
69 */ |
|
70 void Release(); |
|
71 |
|
72 private: |
|
73 /** |
|
74 * Destructor |
|
75 */ |
|
76 ~CXnDomVisitor(); |
|
77 |
|
78 /** |
|
79 * C++ default constructor |
|
80 */ |
|
81 CXnDomVisitor(); |
|
82 |
|
83 private: |
|
84 //ECom destructor key |
|
85 TUid iDtorKey; |
|
86 }; |
|
87 |
|
88 #endif // XN_DOM_VISITOR_H |
|
89 |
|
90 // End of File |