15 #ifndef __UT_XMLSaxParser__
16 #define __UT_XMLSaxParser__
26 struct _xmlSAXHandler;
48 virtual void onStartDocument();
49 virtual void onEndDocument();
53 virtual void onCharacters(
const UT_String &characters);
54 virtual void onCDATABlock(
const UT_String &characters);
55 virtual void onComment(
const UT_String &text);
56 virtual void onWarning(
const UT_String &text);
57 virtual void onError(
const UT_String &text);
58 virtual void onFatalError(
const UT_String &text);
74 friend class utSaxParserCallback;
std::unique_ptr< T, Deleter > UT_UniquePtr
A smart pointer for unique ownership of dynamically allocated objects.
UT_Array< UT_XMLAttribute * > UT_XMLAttributeList
A list of XML element attributes.
std::pair< UT_String, UT_String > UT_XMLAttribute
An XML element attribute as defined by a name and a value.
GLuint const GLchar * name
struct _xmlSAXHandler * xmlSAXHandlerPtr
virtual bool parseContextSubclass()=0