mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-30 08:38:15 +01:00
hmm, I'll be needing this to make the previous checkin actually work
This commit is contained in:
parent
b74514bc58
commit
6c8a3e8404
1 changed files with 34 additions and 0 deletions
34
include/XSLT/impl/xslt_stylesheet.hpp
Executable file
34
include/XSLT/impl/xslt_stylesheet.hpp
Executable file
|
@ -0,0 +1,34 @@
|
||||||
|
#ifndef ARABICA_XSLT_STYLESHEET_HPP
|
||||||
|
#define ARABICA_XSLT_STYLESHEET_HPP
|
||||||
|
|
||||||
|
namespace Arabica
|
||||||
|
{
|
||||||
|
namespace XSLT
|
||||||
|
{
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <iostream>
|
||||||
|
#include <DOM/Node.hpp>
|
||||||
|
class Sink;
|
||||||
|
|
||||||
|
class Stylesheet
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
virtual ~Stylesheet() { }
|
||||||
|
|
||||||
|
virtual void set_parameter(const std::string& name, bool value) = 0;
|
||||||
|
virtual void set_parameter(const std::string& name, double value) = 0;
|
||||||
|
virtual void set_parameter(const std::string& name, const char* value) = 0;
|
||||||
|
virtual void set_parameter(const std::string& name, const std::string& value) = 0;
|
||||||
|
|
||||||
|
virtual void set_output(Sink& sink) = 0;
|
||||||
|
|
||||||
|
virtual void set_error_output(std::ostream& os) = 0;
|
||||||
|
|
||||||
|
virtual void execute(const DOM::Node<std::string>& initialNode) const = 0;
|
||||||
|
}; // class Stylesheet
|
||||||
|
|
||||||
|
} // namespace XSLT
|
||||||
|
} // namespace Arabica
|
||||||
|
|
||||||
|
#endif
|
Loading…
Add table
Reference in a new issue