10#ifndef SkXMLParser_DEFINED
11#define SkXMLParser_DEFINED
61 bool parse(
const char doc[],
size_t len);
84 void reportError(
void*
parser);
void set(const SkString &src)
int getLineNumber() const
int getNativeCode() const
void setNoun(const char *ch)
void setNoun(const SkString &str)
virtual ~SkXMLParserError()
void setCode(ErrorCode code)
ErrorCode getErrorCode() const
virtual void getErrorString(SkString *str) const
void setNoun(const char *ch, size_t len)
bool startElement(const char elem[])
bool endElement(const char elem[])
virtual bool onEndElement(const char elem[])
SkXMLParserError * fError
static void GetNativeErrorString(int nativeErrorCode, SkString *str)
virtual bool onAddAttribute(const char name[], const char value[])
virtual bool onText(const char text[], int len)
virtual bool onStartElement(const char elem[])
bool addAttribute(const char name[], const char value[])
bool text(const char text[], int len)
bool parse(const char doc[], size_t len)
SkXMLParser(SkXMLParserError *parserError=nullptr)
DEF_SWITCHES_START aot vmservice shared library name