blob: 41bba0555dbec36599c0724878567a1dd6afc051 (
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
|
#ifndef INPUTXSLT_SRC_FUNCTION_TRANSFORM_H_
#define INPUTXSLT_SRC_FUNCTION_TRANSFORM_H_
#include <xalanc/XalanTransformer/XalanTransformer.hpp>
#include <xalanc/XPath/XObjectFactory.hpp>
#include <xalanc/XPath/Function.hpp>
#include <xalanc/XPath/XObject.hpp>
#include <memory>
#include "common.h"
#include "support/dom/document_cache.h"
#include "support/filesystem_context.h"
namespace InputXSLT {
class FunctionTransform : public xalan::Function {
public:
FunctionTransform();
virtual xalan::XObjectPtr execute(
xalan::XPathExecutionContext&,
xalan::XalanNode*,
const xalan::XObjectPtr,
const xalan::XObjectPtr,
const xalan::Locator*
) const;
virtual FunctionTransform* clone(xalan::MemoryManager&) const;
FunctionTransform& operator=(const FunctionTransform&) = delete;
bool operator==(const FunctionTransform&) const = delete;
private:
std::shared_ptr<DomDocumentCache> document_cache_;
const xalan::XalanDOMString& getError(xalan::XalanDOMString&) const;
};
}
#endif // INPUTXSLT_SRC_FUNCTION_TRANSFORM_H_
|