HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
UT_XMLDomParser Class Reference

#include <UT_XMLDomParser.h>

+ Inheritance diagram for UT_XMLDomParser:

Public Member Functions

 UT_XMLDomParser ()
 Standard constructor. More...
 
virtual ~UT_XMLDomParser ()
 Standard destructor. More...
 
UT_XMLNodegetRootNode () 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 ()
 
- 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...
 

Detailed Description

Definition at line 24 of file UT_XMLDomParser.h.

Constructor & Destructor Documentation

UT_XMLDomParser::UT_XMLDomParser ( )

Standard constructor.

virtual UT_XMLDomParser::~UT_XMLDomParser ( )
virtual

Standard destructor.

Member Function Documentation

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.

bool UT_XMLDomParser::parseContextSubclass ( )
protectedvirtual

Parse XML using the current context. Return true on a successful parse. Return false otherwise.

Implements UT_XMLParser.


The documentation for this class was generated from the following file: