|
1 /* |
|
2 * Copyright (c) 2006-2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "XMLModuleErrorHandler.h" |
|
20 |
|
21 // ---------------------------------------------------------------------------- |
|
22 // MLModuleErrorHandler::XMLModuleErrorHandler |
|
23 // ---------------------------------------------------------------------------- |
|
24 // |
|
25 XMLModuleErrorHandler::XMLModuleErrorHandler() |
|
26 : iSawErrors(false) |
|
27 { |
|
28 } |
|
29 |
|
30 // ---------------------------------------------------------------------------- |
|
31 // MLModuleErrorHandler::~XMLModuleErrorHandler |
|
32 // ---------------------------------------------------------------------------- |
|
33 // |
|
34 XMLModuleErrorHandler::~XMLModuleErrorHandler() { |
|
35 } |
|
36 |
|
37 // ---------------------------------------------------------------------------- |
|
38 // MLModuleErrorHandler::handleError |
|
39 // ---------------------------------------------------------------------------- |
|
40 // |
|
41 bool XMLModuleErrorHandler::handleError(const DOMError& aError) { |
|
42 bool ret = true; |
|
43 return ret; |
|
44 } |
|
45 |
|
46 // ---------------------------------------------------------------------------- |
|
47 // MLModuleErrorHandler::sawErrors |
|
48 // ---------------------------------------------------------------------------- |
|
49 // |
|
50 bool XMLModuleErrorHandler::sawErrors() const { |
|
51 return iSawErrors; |
|
52 } |
|
53 |
|
54 // ---------------------------------------------------------------------------- |
|
55 // MLModuleErrorHandler::resetErrors |
|
56 // ---------------------------------------------------------------------------- |
|
57 // |
|
58 void XMLModuleErrorHandler::resetErrors() { |
|
59 iSawErrors = false; |
|
60 } |