#include <xmlparser.h>
Public Member Functions | |
XMLSAXImporter (XMLImporter &importer) | |
xmlSAXHandler * | callbacks () |
void * | context () |
Static Private Member Functions | |
static void | startElement (void *user_data, const xmlChar *name, const xmlChar **atts) |
static void | endElement (void *user_data, const xmlChar *name) |
static void | characters (void *user_data, const xmlChar *ch, int len) |
static void | warning (void *user_data, const char *msg,...) |
static void | error (void *user_data, const char *msg,...) |
Private Attributes | |
XMLImporter & | m_importer |
xmlSAXHandler | m_sax |
Definition at line 101 of file xmlparser.h.
XMLSAXImporter::XMLSAXImporter | ( | XMLImporter & | importer | ) | [inline] |
Definition at line 131 of file xmlparser.h.
References characters(), endElement(), error(), m_sax, startElement(), and warning().
xmlSAXHandler* XMLSAXImporter::callbacks | ( | ) | [inline] |
Definition at line 162 of file xmlparser.h.
References m_sax.
Referenced by XMLStreamParser::exportXML().
static void XMLSAXImporter::characters | ( | void * | user_data, | |
const xmlChar * | ch, | |||
int | len | |||
) | [inline, static, private] |
void* XMLSAXImporter::context | ( | ) | [inline] |
Definition at line 165 of file xmlparser.h.
Referenced by XMLStreamParser::exportXML().
static void XMLSAXImporter::endElement | ( | void * | user_data, | |
const xmlChar * | name | |||
) | [inline, static, private] |
Definition at line 109 of file xmlparser.h.
References m_importer, and XMLImporter::popElement().
Referenced by XMLSAXImporter().
static void XMLSAXImporter::error | ( | void * | user_data, | |
const char * | msg, | |||
... | ||||
) | [inline, static, private] |
Definition at line 123 of file xmlparser.h.
Referenced by XMLSAXImporter().
static void XMLSAXImporter::startElement | ( | void * | user_data, | |
const xmlChar * | name, | |||
const xmlChar ** | atts | |||
) | [inline, static, private] |
Definition at line 105 of file xmlparser.h.
References m_importer, and XMLImporter::pushElement().
Referenced by XMLSAXImporter().
static void XMLSAXImporter::warning | ( | void * | user_data, | |
const char * | msg, | |||
... | ||||
) | [inline, static, private] |
Definition at line 117 of file xmlparser.h.
Referenced by XMLSAXImporter().
XMLImporter& XMLSAXImporter::m_importer [private] |
Definition at line 102 of file xmlparser.h.
Referenced by characters(), endElement(), and startElement().
xmlSAXHandler XMLSAXImporter::m_sax [private] |
Definition at line 103 of file xmlparser.h.
Referenced by callbacks(), and XMLSAXImporter().