epoc32/include/xml/taginfo.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     1 // Copyright (c) 2003-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 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 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 //
    15 
    16 #ifndef __TAGINFO_H__
    17 #define __TAGINFO_H__
    18 
    19 #include <stringpool.h>
    20 
    21 
    22 namespace Xml
    23 {
    24 
    25 class RTagInfo
    26 /**
    27 The RTagInfo class holds information that describes an element or attribute.
    28 @see MContentHandler
    29 @see RAttribute
    30 
    31 @publishedAll
    32 @released
    33 */
    34 	{
    35 public:
    36 
    37 /**
    38 @publishedPartner
    39 @released
    40 */
    41 	IMPORT_C RTagInfo();
    42 
    43 /**
    44 @publishedPartner
    45 @released
    46 */
    47 	IMPORT_C RTagInfo Copy();
    48 
    49 /**
    50 @publishedPartner
    51 @released
    52 */
    53 	IMPORT_C void Close();
    54 
    55 /**
    56 @publishedPartner
    57 @released
    58 */
    59 	IMPORT_C void Open(const RString& aUri, const RString& aPrefix, const RString& aLocalName);
    60 	
    61 	IMPORT_C const RString& Uri() const;
    62 	IMPORT_C const RString& LocalName() const;
    63 	IMPORT_C const RString& Prefix() const;
    64 
    65 private:
    66 
    67 /**
    68 Holds the namespace uri of the object it represents.
    69 */
    70 	RString iUri;
    71 
    72 /**
    73 Holds the namespace prefix of the object it represents.
    74 */
    75 	RString iPrefix;
    76 
    77 /**
    78 Holds the local name of the object it represents.
    79 */
    80 	RString iLocalName;
    81 
    82 	};
    83 
    84 }
    85 
    86 #endif //__TAGINFO_H__