MoSync 3.3
Mtx::SaxContextW Class Reference

Wide-char SAX parser context wrapper class. More...

#include <MTXml/MTSax.h>

Inheritance diagram for Mtx::SaxContextW:
Mtx::SaxContextBase

List of all members.

Public Member Functions

void start (SaxListenerW &newSaxListener, MtxListener &newMtxListener)
bool feed (char *data, wchar_t *wideBuffer)
void stop (void)
bool isStarted (void) const

Static Protected Member Functions

static void encoding (MTXSaxContext *context, const char *value)
static void startElement (MTXSaxContext *context, const void *name, const void **attributes)
static void endElement (MTXSaxContext *context, const void *name)
static void characters (MTXSaxContext *context, const void *data, int length)
static void dataRemains (MTXSaxContext *context, const char *data, int length)
static void parseError (MTXSaxContext *context, int offset)

Protected Attributes

MTXSaxContext mContext
MtxListenermMtxListener
SaxListenerWmSaxListenerW

Detailed Description

Wide-char SAX parser context wrapper class.


Member Function Documentation

void Mtx::SaxContextW::start ( SaxListenerW newSaxListener,
MtxListener newMtxListener 
)
bool Mtx::SaxContextW::feed ( char *  data,
wchar_t *  wideBuffer 
)
void Mtx::SaxContextBase::stop ( void  ) [inherited]

De-initializes this parser context if it was previously initialized.

See also:
mtxSaxStop
bool Mtx::SaxContextBase::isStarted ( void  ) const [inherited]
Returns:
true if this parser context is initialized, otherwise false.
static void Mtx::SaxContextBase::encoding ( MTXSaxContext context,
const char *  value 
) [static, protected, inherited]
static void Mtx::SaxContextBase::startElement ( MTXSaxContext context,
const void *  name,
const void **  attributes 
) [static, protected, inherited]
static void Mtx::SaxContextBase::endElement ( MTXSaxContext context,
const void *  name 
) [static, protected, inherited]
static void Mtx::SaxContextBase::characters ( MTXSaxContext context,
const void *  data,
int  length 
) [static, protected, inherited]
static void Mtx::SaxContextBase::dataRemains ( MTXSaxContext context,
const char *  data,
int  length 
) [static, protected, inherited]
static void Mtx::SaxContextBase::parseError ( MTXSaxContext context,
int  offset 
) [static, protected, inherited]

Member Data Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines