#include <qgarlib/sax/DefaultHandler.H>
Inheritance diagram for qgxml::DefaultHandler:

This class is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes:
Definition at line 73 of file DefaultHandler.H.
Public Member Functions | |
ContentHandler Impl | |
| virtual void | characters (const char *ch, const unsigned int start, const unsigned int length) |
| Receive notification of character data. | |
| virtual void | endDocument () |
| Receive notification of the end of a document. | |
| virtual void | endElement (const std::string &uri, const std::string &localName, const std::string &qName) |
| Receive notification of the end of an element. | |
| virtual void | endPrefixMapping (const std::string &prefix) |
| End the scope of a prefix-URI mapping. | |
| virtual void | ignorableWhitespace (const char *ch, const unsigned int start, const unsigned int length) |
| Receive notification of ignorable whitespace in element content. | |
| virtual void | processingInstruction (const std::string &target, const std::string &data) |
| Receive notification of a processing instruction. | |
| virtual void | setDocumentLocator (Locator *locator) |
| Receive an object for locating the origin of SAX document events. | |
| virtual void | skippedEntity (const std::string &name) |
| Receive notification of a skipped entity. | |
| virtual void | startDocument () |
| Receive notification of the beginning of a document. | |
| virtual void | startElement (const std::string &uri, const std::string &localName, const std::string &qName, const Attributes &atts) |
| Receive notification of the beginning of an element. | |
| virtual void | startPrefixMapping (const std::string &prefix, const std::string &uri) |
| Begin the scope of a prefix-URI Namespace mapping. | |
DTDHandler Impl | |
| virtual void | notationDecl (const std::string &name, const std::string &publicId, const std::string &systemId) |
| Receive notification of a notation declaration event. | |
| virtual void | unparsedEntityDecl (const std::string &name, const std::string &publicId, const std::string &systemId, const std::string ¬ationName) |
| Receive notification of an unparsed entity declaration event. | |
EntityResolver Impl | |
| virtual InputSource * | resolveEntity (const std::string &publicId, const std::string &systemId) |
| Allow the application to resolve external entities. | |
ErrorHandler Impl | |
| virtual void | error (const SAXParseException &exception) |
| Receive notification of a recoverable error. | |
| virtual void | fatalError (const SAXParseException &exception) |
| Receive notification of a non-recoverable error. | |
| virtual void | warning (const SAXParseException &exception) |
| Receive notification of a warning. | |
|
||||||||||||||||
|
Receive notification of character data.
Implements qgxml::ContentHandler. Reimplemented in qgar::QgarAppDescr. Definition at line 93 of file DefaultHandler.H. |
|
|
Receive notification of the end of a document. The SAX parser will invoke this method only once, and it will be the last method invoked during the parse. The parser shall not invoke this method until it has either abandoned parsing (because of an unrecoverable error) or reached the end of input.
Implements qgxml::ContentHandler. Definition at line 99 of file DefaultHandler.H. |
|
||||||||||||||||
|
Receive notification of the end of an element. The SAX parser will invoke this method at the end of every element in the XML document; there will be a corresponding startElement event for every endElement event (even when the element is empty).
Implements qgxml::ContentHandler. Reimplemented in qgar::QgarAppDescr. Definition at line 103 of file DefaultHandler.H. |
|
|
End the scope of a prefix-URI mapping.
Implements qgxml::ContentHandler. Definition at line 109 of file DefaultHandler.H. |
|
|
Receive notification of a recoverable error.
Implements qgxml::ErrorHandler. Definition at line 182 of file DefaultHandler.H. |
|
|
Receive notification of a non-recoverable error.
Implements qgxml::ErrorHandler. Reimplemented in qgar::QgarAppDescr. Definition at line 186 of file DefaultHandler.H. |
|
||||||||||||||||
|
Receive notification of ignorable whitespace in element content.
Implements qgxml::ContentHandler. Definition at line 113 of file DefaultHandler.H. |
|
||||||||||||||||
|
Receive notification of a notation declaration event.
Implements qgxml::DTDHandler. Definition at line 154 of file DefaultHandler.H. |
|
||||||||||||
|
Receive notification of a processing instruction.
Implements qgxml::ContentHandler. Definition at line 119 of file DefaultHandler.H. |
|
||||||||||||
|
Allow the application to resolve external entities.
Implements qgxml::EntityResolver. Definition at line 172 of file DefaultHandler.H. |
|
|
Receive an object for locating the origin of SAX document events.
Implements qgxml::ContentHandler. Definition at line 124 of file DefaultHandler.H. |
|
|
Receive notification of a skipped entity.
Implements qgxml::ContentHandler. Definition at line 128 of file DefaultHandler.H. |
|
|
Receive notification of the beginning of a document. The SAX parser will invoke this method only once, before any other event callbacks (except for setDocumentLocator()).
Implements qgxml::ContentHandler. Definition at line 132 of file DefaultHandler.H. |
|
||||||||||||||||||||
|
Receive notification of the beginning of an element. The Parser will invoke this method at the beginning of every element in the XML document; there will be a corresponding endElement event for every startElement event (even when the element is empty). All of the element's content will be reported, in order, before the corresponding endElement event.
Implements qgxml::ContentHandler. Reimplemented in qgar::QgarAppDescr. Definition at line 136 of file DefaultHandler.H. |
|
||||||||||||
|
Begin the scope of a prefix-URI Namespace mapping.
Implements qgxml::ContentHandler. Definition at line 143 of file DefaultHandler.H. |
|
||||||||||||||||||||
|
Receive notification of an unparsed entity declaration event.
Implements qgxml::DTDHandler. Definition at line 160 of file DefaultHandler.H. |
|
|
Receive notification of a warning.
Implements qgxml::ErrorHandler. Definition at line 190 of file DefaultHandler.H. |