#include <xmlutils.h>
Inheritance diagram for regina::xml::XMLParserCallback:
Public Member Functions | |
virtual void | start_document () |
Called at the start of the document. | |
virtual void | end_document () |
Called when the document is finalised. | |
virtual void | start_element (const std::string &n, const regina::xml::XMLPropertyDict &p) |
Called when an element's opening tag is encountered. | |
virtual void | end_element (const std::string &n) |
Called when an element's closing tag is encountered. | |
virtual void | characters (const std::string &s) |
Called when characters are encountered. | |
virtual void | comment (const std::string &s) |
Called when a comment is encountered. | |
virtual void | warning (const std::string &s) |
Called when a parser warning occurs. | |
virtual void | error (const std::string &s) |
Called when a parser error occurs. | |
virtual void | fatal_error (const std::string &s) |
Called when a parser fatal error occurs. |
The various routines in this class will be called when corresponding elements of the XML file being parsed are encountered.
The routines in this class do nothing; you will need to create a derived class that overrides some or all of these routines to do the processing that you require.
http://lusis.org/~ari/xml++/
).
|
Called when characters are encountered.
Reimplemented in regina::NXMLCallback. |
|
Called when a comment is encountered.
|
|
Called when the document is finalised.
Reimplemented in regina::NXMLCallback. |
|
Called when an element's closing tag is encountered.
This is called immediately after start_element() if the opening tag is in
Reimplemented in regina::NXMLCallback. |
|
Called when a parser error occurs.
Reimplemented in regina::NXMLCallback. |
|
Called when a parser fatal error occurs.
Reimplemented in regina::NXMLCallback. |
|
Called at the start of the document.
|
|
Called when an element's opening tag is encountered.
Reimplemented in regina::NXMLCallback. |
|
Called when a parser warning occurs.
Reimplemented in regina::NXMLCallback. |