1 /* |
1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2004-2006 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
3 * All rights reserved. |
3 // This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
4 // under the terms of "Eclipse Public License v1.0" |
5 * 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 |
5 // which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
7 // |
8 * |
8 // Initial Contributors: |
9 * Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
10 // |
11 * |
11 // Contributors: |
12 * Contributors: |
12 // |
13 * |
13 // Description: |
14 * Description: Namespace node functions |
14 // Default constructor |
15 * |
15 // |
16 */ |
|
17 |
16 |
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 // ----------------------------------------------------------------------------- |
|
27 // Default constructor |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 inline TXmlEngNamespace::TXmlEngNamespace():TXmlEngNode(NULL) |
17 inline TXmlEngNamespace::TXmlEngNamespace():TXmlEngNode(NULL) |
31 { |
18 { |
32 } |
19 } |
33 |
|
34 // ----------------------------------------------------------------------------- |
|
35 // Workaround to avoid misuse of TXmlEngNode::NamespaceUri() method, which should not |
|
36 // be applied to TXmlEngNamespace node. Since the name of the inherited method from |
|
37 // TXmlEngNode is too similar to TXmlEngNamespace::Uri(), NamespaceUri() is disabled for |
|
38 // direct use. |
|
39 // |
|
40 // If NamespaceUri() is called on the TXmlEngNamespace object that is downcasted to |
|
41 // TXmlEngNode, then NamespaceUri()'s result equals to result of Uri() method. |
|
42 // ----------------------------------------------------------------------------- |
|
43 // |
|
44 inline TPtrC8 TXmlEngNamespace::NamespaceUri() |
|
45 { |
|
46 return KNullDesC8(); |
|
47 } |
|
48 |
20 |
49 // ----------------------------------------------------------------------------- |
21 // ----------------------------------------------------------------------------- |
50 // Constructor |
22 // Constructor |
51 // ----------------------------------------------------------------------------- |
23 // ----------------------------------------------------------------------------- |
52 // |
24 // |