20 #ifndef DOMTreeErrorReporter_H
21 #define DOMTreeErrorReporter_H
23 #include <xercesc/util/XercesDefs.hpp>
24 #include <xercesc/sax/ErrorHandler.hpp>
28 XERCES_CPP_NAMESPACE_USE
48 void warning(
const SAXParseException& toCatch);
49 void error(
const SAXParseException& toCatch);
50 void fatalError(
const SAXParseException& toCatch);
56 bool getSawErrors()
const;
69 inline bool DOMTreeErrorReporter::getSawErrors()
const
84 StrX(
const XMLCh*
const toTranscode)
87 fLocalForm = XMLString::transcode(toTranscode);
92 XMLString::release(&fLocalForm);
99 const char* localForm()
const
114 inline XERCES_STD_QUALIFIER ostream& operator<<(XERCES_STD_QUALIFIER ostream& target,
const StrX& toDump)
116 target << toDump.localForm();
120 #endif //DOMTreeErrorReporter_H
Definition: DOMTreeErrorReporter.h:78
Definition: DOMTreeErrorReporter.h:30