aboutsummaryrefslogtreecommitdiff
path: root/src/function/transform.h
blob: 94fae53dd62eeec120d919b737f0224717f1d199 (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
#ifndef INPUTXSLT_SRC_FUNCTION_TRANSFORM_H_
#define INPUTXSLT_SRC_FUNCTION_TRANSFORM_H_

#include "base.h"

#include "support/include_entity_resolver.h"

namespace InputXSLT {

class FunctionTransform : public FunctionBase<
	FunctionTransform,
	std::string,
	std::string,
	xalan::XObjectPtr
> {
	public:
		FunctionTransform(IncludeEntityResolver*);

	protected:
		friend FunctionBase;

		xercesc::DOMDocument* constructDocument(
			const FilesystemContext&,
			const FunctionBase::parameter_tuple&
		);

	private:
		IncludeEntityResolver* const include_resolver_;

};

}

#endif  // INPUTXSLT_SRC_FUNCTION_TRANSFORM_H_