source: proto/gml2svg/C/intel/xslt/xslt_service.hpp @ 1703

Last change on this file since 1703 was 1703, checked in by ksherdy, 8 years ago

Added gml2svg prototypes.

  • Property svn:executable set to *
File size: 1003 bytes
Line 
1/*
2 * XsltService.h
3 * Copyright (C) 2007, 2008 Ken Herdy
4 * Version 0.9
5 * Licensed to the public under the Open Software License 3.0.
6 *
7 * Description: The XSLTService object holds reference to Transformers.
8 *              The getTemplates method creates a non-thread safe Templates object
9 *              to transform the corresponding GML layer type.
10 */
11
12#ifndef XSLTSERVICE_H_
13#define XSLTSERVICE_H_
14
15#include "include/common/exception.h"
16#include "include/xslta/transform.h"
17#include "include/xslta/transformfactory.h"
18
19#include <map>
20
21INTEL_XML_PACKAGE_NAMESPACE_USE_ALL
22
23class XsltService {
24
25        public:
26
27                XsltService();
28                virtual ~XsltService();
29                //TODO - Adjust Java implementation to hold memory and not FILE reference.
30                void registerTemplates(const char * templates_id, Source * xslt);
31                Templates * getTemplates(const char * templates_id);
32
33        private:
34
35                TransformFactory * _transform_factory;
36                std::map<const char *, Templates *> * _transformer_pool;
37
38};
39
40#endif /* XSLTSERVICE_H_ */
Note: See TracBrowser for help on using the repository browser.