#include <UT_XMLSaxParser.h>
Definition at line 29 of file UT_XMLSaxParser.h.
An XML element attribute as defined by a name and a value.
Definition at line 48 of file UT_XMLSaxParser.h.
| UT_XMLSaxParser::UT_XMLSaxParser |
( |
| ) |
|
| UT_XMLSaxParser::~UT_XMLSaxParser |
( |
| ) |
|
|
override |
Utility method for getting the value of an attribute.
| static double UT_XMLSaxParser::getDoubleAttribute |
( |
const UT_XMLAttributeList & |
attribs, |
|
|
const char * |
name, |
|
|
double |
defValue |
|
) |
| |
|
inlinestatic |
| static bool UT_XMLSaxParser::hasAttribute |
( |
const UT_XMLAttributeList & |
attribs, |
|
|
const char * |
name |
|
) |
| |
|
inlinestatic |
| virtual void UT_XMLSaxParser::onCDATABlock |
( |
const UT_String & |
characters | ) |
|
|
virtual |
| virtual void UT_XMLSaxParser::onCharacters |
( |
const UT_String & |
characters | ) |
|
|
virtual |
| virtual void UT_XMLSaxParser::onComment |
( |
const UT_String & |
text | ) |
|
|
virtual |
| virtual void UT_XMLSaxParser::onEndDocument |
( |
| ) |
|
|
virtual |
| virtual void UT_XMLSaxParser::onEndElement |
( |
const UT_String & |
name | ) |
|
|
virtual |
| virtual void UT_XMLSaxParser::onFatalError |
( |
const UT_String & |
text | ) |
|
|
virtual |
| virtual void UT_XMLSaxParser::onStartDocument |
( |
| ) |
|
|
virtual |
Callback methods that are called at various times of the parse.
| virtual void UT_XMLSaxParser::onWarning |
( |
const UT_String & |
text | ) |
|
|
virtual |
| bool UT_XMLSaxParser::parseContextSubclass |
( |
| ) |
|
|
overridevirtual |
Parse XML using the current context. Return true on a successful parse. Return false otherwise.
Implements UT_XMLParser.
| bool UT_XMLSaxParser::parseFileUTF8 |
( |
const char * |
filename | ) |
|
Parse a file, handing the callbacks below libxml2's UTF-8 unchanged. parseFile() instead converts to Latin-1, which silently drops every code point above U+00FF; that remains the default so existing subclasses are unaffected. Use this one if your consumers are UTF-8 clean. Returns true on a successful parse.
| friend class utSaxParserCallback |
|
friend |
We need to give the callback helper class access to the parser's callback functions (i.e. onStartElement).
Definition at line 118 of file UT_XMLSaxParser.h.
The documentation for this class was generated from the following file: