cocos2d-x  3.0-beta2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
SAXParser Class Reference

#include <CCSAXParser.h>

Public Member Functions

 SAXParser ()
 ~SAXParser (void)
bool init (const char *encoding)
bool parse (const char *xmlData, size_t dataLength)
bool parse (const std::string &filename)
void setDelegator (SAXDelegator *delegator)

Static Public Member Functions

static void startElement (void *ctx, const CC_XML_CHAR *name, const CC_XML_CHAR **atts)
static void endElement (void *ctx, const CC_XML_CHAR *name)
static void textHandler (void *ctx, const CC_XML_CHAR *name, int len)

Constructor & Destructor Documentation

SAXParser ( )
~SAXParser ( void  )

Member Function Documentation

static void endElement ( void *  ctx,
const CC_XML_CHAR name 
bool init ( const char *  encoding)
bool parse ( const char *  xmlData,
size_t  dataLength 
bool parse ( const std::string &  filename)
void setDelegator ( SAXDelegator delegator)
static void startElement ( void *  ctx,
const CC_XML_CHAR name,
const CC_XML_CHAR **  atts 
static void textHandler ( void *  ctx,
const CC_XML_CHAR name,
int  len 

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