mirror of
https://github.com/jezhiggins/arabica
synced 2024-12-29 22:23:27 +01:00
34 lines
836 B
C++
34 lines
836 B
C++
#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
|