2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
22 #ifndef XMLENGDOMIMPLEMENTATION_H
23 #define XMLENGDOMIMPLEMENTATION_H
28 The RXmlEngDOMImplementation interface provides a number of methods for performing
29 operations that are independent of any particular instance of the document object model.
31 http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-102161490
33 class RXmlEngDOMImplementation
39 Open method needed to initialize the DOM library and should be called
40 before using any class/function from this library. The initialization is
41 required in every client thread in which it used. Calling this method
42 multiple times in a thread is allowed. There should be a call to Close()
43 for every call to Open, per thread.
45 @param aHeap This argument not used at present and is ignored in the
47 @leave - One of the system-wide error codes
49 IMPORT_C void OpenL( RHeap* aHeap = NULL );
52 Close method. It cleans up resources used by the DOM library. Clients
53 should call this method at the end of library usage. The library should not
54 be used after this call. If needed, clients can initialize the library
55 again by calling the Open() method.
57 @param aReserved This parameter is not used
59 IMPORT_C void Close(TBool aReserved);
62 Close method. It cleans up resources used by the DOM library. Clients
63 should call this method at the end of library usage. The library should not
64 be used after this call. If needed, clients can initialize the library
65 again by calling the Open() method.
67 IMPORT_C void Close();
70 #endif /* XMLENGDOMIMPLEMENTATION_H */