pressrv_plat/simple_documents_api/inc/msimplenamespace.h
changeset 0 c8caa15ef882
equal deleted inserted replaced
-1:000000000000 0:c8caa15ef882
       
     1 /*
       
     2 * Copyright (c) 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 "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:    SIMPLE data name space
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef M_simplenamespace_H
       
    22 #define M_simplenamespace_H
       
    23 
       
    24 #include <e32std.h>
       
    25 
       
    26 /**
       
    27  *  MSimpleNamespace
       
    28  *
       
    29  *  SIMPLE data namespace
       
    30  *
       
    31  *  @lib simplexmlutils
       
    32  *  @since S60 3.2
       
    33  */
       
    34 
       
    35 class MSimpleNamespace
       
    36     {
       
    37 
       
    38 public:
       
    39 
       
    40     /**
       
    41      * Destroy this element entity
       
    42      *
       
    43      * @since S60 3.2
       
    44      */
       
    45     virtual void Close() = 0;
       
    46 
       
    47     /**
       
    48      * Getter for the URI of the namespace object.
       
    49      * @since S60 3.2
       
    50      * @return  The URI
       
    51      */
       
    52     virtual TPtrC8 URI() = 0;
       
    53 
       
    54     /**
       
    55      * Getter for the prefix of the namespace object.
       
    56      * @since S60 3.2
       
    57      * @return  The prefix
       
    58      */
       
    59     virtual TPtrC8 Prefix() = 0;
       
    60 
       
    61     /**
       
    62      * Setter for the URI of the namespace object.
       
    63      * @since S60 3.2
       
    64      * @param aUri  The URI.
       
    65      */
       
    66     virtual void SetUriL(const TDesC8& aUri)  = 0;
       
    67 
       
    68     /**
       
    69      * Setter for the prefix of the namespace object.
       
    70      * @since S60 3.2
       
    71      * @param aPrefix   The prefix.
       
    72      */
       
    73     virtual void SetPrefixL(const TDesC8& aPrefix) = 0;
       
    74 
       
    75     };
       
    76 
       
    77 #endif
       
    78 
       
    79 // End of File