|
Public Types |
typedef std::map< std::string,
std::string > | attr_map |
Public Member Functions |
| | HTMLParser () |
| virtual | ~HTMLParser () |
| void | parse (const char *buffer, int len) |
| | Parse chunk of HTML data.
|
| void | finish () |
| | Finish parsing.
|
| void | reset () |
| | Reset the parser.
|
| virtual void | documentStart () |
| | Called on start of an HTML-Document.
|
| virtual void | documentEnd () |
| | Called at the end of an HTML-Document.
|
| virtual void | comment (const std::string &text) |
| virtual void | characters (const char *text, unsigned len) |
| virtual void | elementStart (const std::string &name, const attr_map &attrs) |
| | Called on start of an HTML-Element.
|
| virtual void | elementEnd (const std::string &name) |
| | Called at the end of an HTML-Element.
|
| virtual void | warning (const std::string &msg) |
| virtual void | error (const std::string &msg) |
| virtual void | fatal (const std::string &msg) |