apicompatanamdw/compatanalysercmd/libraryanalyser/inc/xmlparserinterface.h
author Maciej Seroka <maciejs@symbian.org>
Thu, 11 Nov 2010 14:03:20 +0000
changeset 26 26ffa9d5444d
parent 0 638b9c697799
permissions -rw-r--r--
Updated knownissues.xml - wk_45_2010
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     1
/*
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     2
* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     3
* All rights reserved.
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     4
* This component and the accompanying materials are made available
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     5
* under the terms of "Eclipse Public License v1.0"
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     6
* which accompanies this distribution, and is available
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     7
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     8
*
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
     9
* Initial Contributors:
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    10
* Nokia Corporation - initial contribution.
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    11
*
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    12
* Contributors:
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    13
*
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    14
* Description: 
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    15
*
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    16
*/
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    17
#include <string>
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    18
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    19
#if !defined XMLPARSERINTERFACE
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    20
	#define  XMLPARSERINTERFACE
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    21
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    22
class XMLParserInterface
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    23
{
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    24
public:
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    25
    virtual bool parse() = 0;
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    26
	virtual bool parse(const std::string&) = 0;
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    27
	
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    28
	virtual void doValidation(bool v = true) = 0;
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    29
	virtual void doSchema(bool s = true) = 0;
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    30
	virtual void fullSchemaChecking(bool s = true) = 0;
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    31
	virtual void namespaces(bool n = true) = 0;
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    32
};
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    33
638b9c697799 1. Licenses updated to EPL.
noe\swadi
parents:
diff changeset
    34
#endif // XMLPARSERINTERFACE