#include <UT_XMLParser.h>
Definition at line 25 of file UT_XMLParser.h.
UT_XMLParser::UT_XMLParser |
( |
| ) |
|
virtual UT_XMLParser::~UT_XMLParser |
( |
| ) |
|
|
virtual |
Return the current parsing context.
const char* UT_XMLParser::getError |
( |
| ) |
const |
Return the error message for the last parsing run. If no error was thrown in the last parse, then return an empty string.
bool UT_XMLParser::parseContext |
( |
| ) |
|
|
protected |
Parse XML using the current context. Return true on a successful parse. Return false otherwise.
virtual bool UT_XMLParser::parseContextSubclass |
( |
| ) |
|
|
protectedpure virtual |
bool UT_XMLParser::parseFile |
( |
const char * |
filename | ) |
|
Parse XML in the given file. Return true on a successful parse. Return false otherwise.
bool UT_XMLParser::parseMemory |
( |
const char * |
contents, |
|
|
int |
size = -1 |
|
) |
| |
Parse XML contents stored in memory. Return true on a successful parse. Return false otherwise.
void UT_XMLParser::setError |
( |
const char * |
error | ) |
|
|
protected |
Sets the error message for the current parsing run.
void UT_XMLParser::setSubstituteEntities |
( |
bool |
substitute | ) |
|
Set whether the parser will automatically substitute entity references with the text of the entities' definitions. By default, the parser will not substitute entities so that you do not lose the entity reference information.
The documentation for this class was generated from the following file: