#include <MTXml/MTSax.h>
This class wraps the mtxSax set of functions. To use it, you need to inherit and implement the MtxListener and SaxListener interfaces.
Public Member Functions | |
SaxContext (void) | |
~SaxContext (void) | |
void | start (SaxListener &newSaxListener, MtxListener &newMtxListener) |
bool | feed (char *data) |
bool | feedProcess (char *data) |
void | stop (void) |
bool | isStarted (void) const |
|
Constructor. |
|
Destructor. |
|
Initializes this parser context using the specified callback interfaces. The SAX interface receives XML data, while the MTXml interface handles buffer management.
|
|
Feeds some data into this parser context. The context must already be started. Any remaining data is passed to the MtxListener interface.
|
|
Feeds some data into this parser context, with UTF-8 to Latin-1 conversion. The context must already be started. Any remaining data is passed to the MtxListener interface.
|
|
De-initializes this parser context if it was previously initialized.
|
|
|