1 #ifndef DDLSAX2HANDLER_H
2 #define DDLSAX2HANDLER_H
9 #include <xercesc/util/XercesDefs.hpp>
10 #include <xercesc/sax2/Attributes.hpp>
11 #include <xercesc/sax2/DefaultHandler.hpp>
84 virtual void startElement(
const XMLCh*
const uri,
const XMLCh*
const localname
85 ,
const XMLCh*
const qname,
const Attributes& attrs);
86 virtual void endElement(
const XMLCh*
const uri,
const XMLCh*
const localname
87 ,
const XMLCh*
const qname);
88 virtual void characters(
const XMLCh*
const chars,
const unsigned int length);
89 virtual void comment (
const XMLCh *
const chars,
const unsigned int length );
virtual void characters(const XMLCh *const chars, const unsigned int length)
unsigned int characterCount_
unsigned int getAttrCount() const
Get the count of attributes processed so far.
virtual void endElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
unsigned int elementCount_
virtual void resetDocument()
virtual void warning(const SAXParseException &exception)
XERCES_CPP_NAMESPACE::SAXParseException SAXParseException
virtual void ignorableWhitespace(const XMLCh *const chars, const unsigned int length)
bool getSawErrors() const
Did the XML parser see any errors?
virtual void setUserNS(bool userns)
virtual void fatalError(const SAXParseException &exception)
unsigned int getElementCount() const
Get the count of elements processed so far.
unsigned int getCharacterCount() const
Get the count of characters processed so far.
unsigned int getSpaceCount() const
Get the count of spaces processed so far.
virtual void error(const SAXParseException &exception)
virtual void setNameSpace(const std::string &nms)
virtual void comment(const XMLCh *const chars, const unsigned int length)
DDLSAX2Handler inherits from Xerces C++ DefaultHandler.
virtual void dumpStats(const std::string &fname)
virtual void startElement(const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs)
XERCES_CPP_NAMESPACE::Attributes Attributes