cocos2d-x  2.2.3-gd2.113-rev1ec524e
Loading...
Searching...
No Matches
CCSAXParser Class Reference

NA NA. More...

#include <CCSAXParser.h>

Public Member Functions

 CCSAXParser ()
 
 ~CCSAXParser (void)
 
bool init (const char *pszEncoding)
 
bool parse (const char *pXMLData, unsigned int uDataLength)
 
bool parse (const char *pszFile)
 
void setDelegator (CCSAXDelegator *pDelegator)
 

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)
 

Detailed Description

NA NA.

Constructor & Destructor Documentation

◆ CCSAXParser()

◆ ~CCSAXParser()

~CCSAXParser ( void  )

Member Function Documentation

◆ endElement()

static void endElement ( void *  ctx,
const CC_XML_CHAR name 
)
static

◆ init()

bool init ( const char *  pszEncoding)

◆ parse() [1/2]

bool parse ( const char *  pszFile)

◆ parse() [2/2]

bool parse ( const char *  pXMLData,
unsigned int  uDataLength 
)

◆ setDelegator()

void setDelegator ( CCSAXDelegator pDelegator)

◆ startElement()

static void startElement ( void *  ctx,
const CC_XML_CHAR name,
const CC_XML_CHAR **  atts 
)
static

◆ textHandler()

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

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