HDK
|
#include <UT_XMLDomParser.h>
Public Member Functions | |
UT_XMLDomParser () | |
Standard constructor. More... | |
~UT_XMLDomParser () override | |
Standard destructor. More... | |
UT_XMLNode * | getRootNode () const |
Public Member Functions inherited from UT_XMLParser | |
UT_XMLParser () | |
Standard constructor. More... | |
virtual | ~UT_XMLParser () |
Standard destructor. More... | |
void | setSubstituteEntities (bool substitute) |
bool | parseMemory (const char *contents, int size=-1) |
bool | parseFile (const char *filename) |
const char * | getError () const |
Protected Member Functions | |
bool | parseContextSubclass () override |
Protected Member Functions inherited from UT_XMLParser | |
bool | parseContext () |
xmlParserCtxtPtr | getContext () const |
Return the current parsing context. More... | |
void | setError (const char *error) |
Sets the error message for the current parsing run. More... | |
Definition at line 23 of file UT_XMLDomParser.h.
UT_XMLDomParser::UT_XMLDomParser | ( | ) |
Standard constructor.
|
override |
Standard destructor.
UT_XMLNode* UT_XMLDomParser::getRootNode | ( | ) | const |
Return the root node of the document that was parsed. Return NULL if the parse failed and no document was created or if no parse has taken place.
|
overrideprotectedvirtual |
Parse XML using the current context. Return true on a successful parse. Return false otherwise.
Implements UT_XMLParser.