21 #ifndef OptionsLoader_h
22 #define OptionsLoader_h
34 #include <xercesc/sax/HandlerBase.hpp>
35 #include <xercesc/sax/AttributeList.hpp>
36 #include <xercesc/sax/SAXParseException.hpp>
37 #include <xercesc/sax/SAXException.hpp>
44 #if defined(XERCES_HAS_CPP_NAMESPACE)
45 using namespace XERCES_CPP_NAMESPACE;
82 virtual void startElement(
const XMLCh*
const name,
83 AttributeList& attributes);
93 void characters(
const XMLCh*
const chars,
const XERCES3_SIZE_t length);
100 void endElement(
const XMLCh*
const name);
113 void warning(
const SAXParseException&
exception);
120 void error(
const SAXParseException& exception);
127 void fatalError(
const SAXParseException& exception);
133 bool errorOccured()
const;
145 void setValue(
const std::string& key, std::string& value);
157 bool setSecure(
const std::string& name,
const std::string& value)
const;