blob: c743f9242aa219aa5132989d71396af721964513 (
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
|
#ifndef INPUTXSLT_SRC_SUPPORT_RESULT_NODE_FACADE_H_
#define INPUTXSLT_SRC_SUPPORT_RESULT_NODE_FACADE_H_
#include <xercesc/dom/DOMDocument.hpp>
#include <xercesc/dom/DOMImplementation.hpp>
#include <xercesc/dom/DOMElement.hpp>
#include <string>
namespace InputXSLT {
class ResultNodeFacade {
public:
ResultNodeFacade(xercesc::DOMDocument*, const std::string&);
ResultNodeFacade(
xercesc::DOMDocument*,
xercesc::DOMNode*,
const std::string&
);
~ResultNodeFacade();
xercesc::DOMElement* getResultElement();
void setAttribute(const std::string&, const std::string&);
void setValueNode(const std::string&, const std::string&);
void setContent(const std::string&);
void setContent(xercesc::DOMNode*);
void setContent(xercesc::DOMNodeList*);
private:
xercesc::DOMDocument* const dom_document_;
xercesc::DOMElement* const result_node_;
xercesc::DOMNode* const root_node_;
};
}
#endif // INPUTXSLT_SRC_SUPPORT_RESULT_NODE_FACADE_H_
|