aboutsummaryrefslogtreecommitdiff
path: root/src/support
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-04 22:41:17 +0200
committerAdrian Kummerlaender2014-07-04 22:41:17 +0200
commitf05e742b88e3ebf7401c252332022f1a2f7eb8b0 (patch)
tree038e011e808eb86e4c8ebfee11132e5c952edaf0 /src/support
parent784ac42a0f05608e3d9c5e15246dbf76ce9e3d51 (diff)
downloadInputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar
InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.gz
InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.bz2
InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.lz
InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.xz
InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.tar.zst
InputXSLT-f05e742b88e3ebf7401c252332022f1a2f7eb8b0.zip
Changed FunctionTransform result type to node-set
* using xalan::FormatterToXercesDOM internally ** this required changes to the TransformationFacade::generate member method overloads * TransformationFacade::generate now accepts references to xalan::FormatterListener instances ** "generate(std::basic_ostream<char>&..." instantiates a xalan::FormatterToXML and passes it to the actual generate member method * changed ResultNodeFacade's "getNode" method into a "getResultElement" method ** xalan::FormatterToXercesDOM requires a xercesc::DOMElement instance instead of the previously available xercesc::DOMNode instance ** changed FunctionReadDirectory accordingly * adapted FunctionTransform test case accordingly
Diffstat (limited to 'src/support')
-rw-r--r--src/support/dom/result_node_facade.cc2
-rw-r--r--src/support/dom/result_node_facade.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/support/dom/result_node_facade.cc b/src/support/dom/result_node_facade.cc
index eeb2cc6..570b4e1 100644
--- a/src/support/dom/result_node_facade.cc
+++ b/src/support/dom/result_node_facade.cc
@@ -22,7 +22,7 @@ ResultNodeFacade::~ResultNodeFacade() {
this->root_node_->appendChild(this->result_node_);
}
-xercesc::DOMNode* ResultNodeFacade::getNode() {
+xercesc::DOMElement* ResultNodeFacade::getResultElement() {
return this->result_node_;
}
diff --git a/src/support/dom/result_node_facade.h b/src/support/dom/result_node_facade.h
index bf73582..c7e831e 100644
--- a/src/support/dom/result_node_facade.h
+++ b/src/support/dom/result_node_facade.h
@@ -18,7 +18,7 @@ class ResultNodeFacade {
);
~ResultNodeFacade();
- xercesc::DOMNode* getNode();
+ xercesc::DOMElement* getResultElement();
void setAttribute(const std::string&, const std::string&);
void setValueNode(const std::string&, const std::string&);