1 #ifndef DETECTOR_DESCRIPTION_REGRESSION_TEST_SAXTODOM2_H 2 #define DETECTOR_DESCRIPTION_REGRESSION_TEST_SAXTODOM2_H 4 #include <xercesc/util/XercesDefs.hpp> 12 #include "xercesc/sax/SAXParseException.hpp" 13 #include "xercesc/sax2/Attributes.hpp" 14 #include "xercesc/sax2/DefaultHandler.hpp" 15 #include "xercesc/util/XercesVersion.hpp" 19 class SaxToDom2 :
public XERCES_CPP_NAMESPACE::DefaultHandler {
25 void startElement(
const XMLCh* uri,
const XMLCh* localname,
const XMLCh* qname,
const Attributes& attrs)
override;
26 void endElement(
const XMLCh* uri,
const XMLCh*
name,
const XMLCh* qname)
override;
void error(const SAXParseException &e) override
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
std::vector< Node2 > parent_
void startElement(const XMLCh *uri, const XMLCh *localname, const XMLCh *qname, const Attributes &attrs) override
const TinyDom2 & dom() const
XERCES_CPP_NAMESPACE::Attributes Attributes
void endElement(const XMLCh *uri, const XMLCh *name, const XMLCh *qname) override