9 #ifndef PDBML_PARSER_HANDLER_H
10 #define PDBML_PARSER_HANDLER_H
16 #include <xercesc/sax2/DefaultHandler.hpp>
17 #include <xercesc/sax2/Attributes.hpp>
22 XERCES_CPP_NAMESPACE_USE
39 const XMLCh *
const localname,
40 const XMLCh *
const qname,
41 const Attributes& attrs);
44 const XMLCh *
const localname,
45 const XMLCh *
const qname);
48 const unsigned int length);
50 void warning(
const SAXParseException& exception);
51 void error(
const SAXParseException& exception);
52 void fatalError(
const SAXParseException& exception);
62 std::vector<string> _currRowNames;
63 std::vector<string> _currRowValues;
66 string _currBlockName;
73 vector<string> _keyColNames;
77 void _GetAttributes(
const Attributes& attrs);
78 string _GetDataBlockName(
const Attributes& attrs);
79 string _ExtractTableName(
const string& tableContName);
84 void _ErrMessage(
const string& err,
const string& element);