blob: dfe6123780a08d2c416853786d286c35e67daf50 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
#ifndef INPUTXSLT_SRC_TRANSFORMER_FACADE_H_
#define INPUTXSLT_SRC_TRANSFORMER_FACADE_H_
#include <xalanc/XalanTransformer/XalanTransformer.hpp>
#include "common.h"
#include "support/include_entity_resolver.h"
#include "support/error/error_multiplexer.h"
#include "support/error/error_capacitor.h"
#include "support/error/warning_capacitor.h"
namespace InputXSLT {
class TransformerFacade {
public:
TransformerFacade(IncludeEntityResolver*);
void generate(
const xalan::XSLTInputSource&,
const xalan::XSLTInputSource&,
xalan::FormatterListener&
);
void generate(
const xalan::XSLTInputSource&,
xalan::FormatterListener&
);
WarningCapacitor::warning_cache_ptr getCachedWarnings();
private:
xalan::XalanTransformer transformer_;
ErrorMultiplexer error_multiplexer_;
WarningCapacitor warning_capacitor_;
void generate(
xalan::XalanNode* const,
const xalan::XSLTInputSource&,
xalan::FormatterListener&
);
template <typename Source>
void dispatchTransformer(
const Source&,
const xalan::XSLTInputSource&,
xalan::FormatterListener&
);
};
}
#endif // INPUTXSLT_SRC_TRANSFORMER_FACADE_H_
|