* See the License for the specific language governing permissions and
* limitations under the License.
*/
- /**
+/**
* This file have been implemented in compliance with W3C WARP SPEC.
* but there are some patent issue between W3C WARP SPEC and APPLE.
* so if you want to use this file, refer to the README file in root directory
#include "element_parser.h"
#include <list>
+#include <map>
#include <dpl/foreach.h>
#include <dpl/wrt-dao-ro/config_parser_data.h>
namespace ConfigurationNamespace {
static const DPL::String W3CWidgetNamespaceName =
L"http://www.w3.org/ns/widgets";
-static const DPL::String JilWidgetNamespaceName =
- L"http://www.jil.org/ns/widgets1.2";
static const DPL::String WacWidgetNamespaceNameForLinkElement =
L"http://wacapps.net/ns/widgets#";
static const DPL::String WacWidgetNamespaceName =
ElementParserPtr OnLicenseElement();
ElementParserPtr OnIconElement();
ElementParserPtr OnContentElement();
- ElementParserPtr OnFeatureElement();
ElementParserPtr OnPreferenceElement();
ElementParserPtr OnAccessElement();
- ElementParserPtr OnFlashElement();
ElementParserPtr OnLinkElement();
- ElementParserPtr OnMinVersionElement();
- ElementParserPtr OnBackElement();
- ElementParserPtr OnPkgnameElement();
ElementParserPtr OnSettingElement();
- ElementParserPtr OnServiceElement();
+ ElementParserPtr OnApplicationElement();
+ ElementParserPtr OnSplashElement();
+ ElementParserPtr OnBackgroundElement();
+ ElementParserPtr OnPrivilegeElement();
+ ElementParserPtr OnAppControlElement();
+ ElementParserPtr OnCategoryElement();
+ ElementParserPtr OnAppWidgetElement();
+ ElementParserPtr OnCspElement();
+ ElementParserPtr OnCspReportOnlyElement();
+ ElementParserPtr OnAccountElement();
virtual ActionFunc GetElementParser(const DPL::String& ns,
- const DPL::String& name);
+ const DPL::String& name);
virtual void Accept(const Element&);
virtual void Accept(const Text&);
Unicode::Direction m_textDirection;
FuncMap m_map;
DPL::Optional<DPL::String> m_version;
+ DPL::Optional<DPL::String> m_minVersion;
std::list<DPL::String> m_windowModes;
DPL::Optional<DPL::String> m_defaultlocale;
- std::list<DPL::String> m_nameSpaces;
+ std::map<DPL::String, DPL::String> m_nameSpaces;
};
struct IconParser;