#include <xml.h>
Public Methods | |
virtual bool | Open (const char *resource) |
May perform an open operation on behalf of a parsed resource. More... | |
virtual void | Close (void) |
May perform a close operation of an i/o source when the parser has completed operation. More... | |
virtual slog_level_t | getLogging (void) |
Get error logging level. More... | |
virtual void | comment (const unsigned char *text) |
Virtual to receive embedded comments in an XML document being parsed. More... | |
virtual int | Read (unsigned char *buffer, int len)=0 |
Read method to aquire data for the parser. More... | |
virtual void | characters (const unsigned char *text, unsigned len)=0 |
Virtual to receive character text extracted from the document in the current element. More... | |
virtual void | startDocument (void) |
Identify start of document event. More... | |
virtual void | endDocument (void) |
Identify end of document event. More... | |
virtual void | startElement (const unsigned char *name, const unsigned char **attr)=0 |
Identify start of an element in the document. More... | |
virtual void | endElement (const unsigned char *name)=0 |
Identify end of an element in the document. More... | |
bool | Parse (const char *resource=NULL) |
Parse a resource as a stream thru the virtual read method. More... |
This class must be derived into one that can impliment the physical I/O required to parse actual data. A mixer class using XMLStream and URLStream would seem a likely combination for this purpose.
|
May perform a close operation of an i/o source when the parser has completed operation.
|
|
May perform an open operation on behalf of a parsed resource. In some cases, the parser may be merged with a class that already has performed some kind of open, and this method can then be ignored.
|
|
Parse a resource as a stream thru the virtual read method.
|
|
Read method to aquire data for the parser.
|
|
Virtual to receive character text extracted from the document in the current element.
|
|
Virtual to receive embedded comments in an XML document being parsed.
|
|
Identify end of document event.
|
|
Identify end of an element in the document.
|
|
Get error logging level.
|
|
Identify start of document event.
|
|
Identify start of an element in the document.
|