epoc32/include/xml/dom/xmlengnamespace.inl
branchSymbian2
changeset 3 e1b950c65cb4
parent 2 2fe1408b6811
child 4 837f303aceeb
equal deleted inserted replaced
2:2fe1408b6811 3:e1b950c65cb4
       
     1 /*
       
     2 * Copyright (c) 2004-2006 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 the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:       Namespace node functions
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 
       
    26 // -----------------------------------------------------------------------------
       
    27 // Default constructor
       
    28 // -----------------------------------------------------------------------------
       
    29 //
       
    30 inline TXmlEngNamespace::TXmlEngNamespace():TXmlEngNode(NULL)
       
    31     {
       
    32     }
       
    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 
       
    49 // -----------------------------------------------------------------------------
       
    50 // Constructor
       
    51 // -----------------------------------------------------------------------------
       
    52 //
       
    53 inline TXmlEngNamespace::TXmlEngNamespace(void* aPtr):TXmlEngNode(aPtr)
       
    54     {
       
    55     }
       
    56