Rudiments
|
#include <xmlsax.h>
Inherits sax.
Inherited by xmldom.
Public Member Functions | |
xmlsax () | |
virtual | ~xmlsax () |
Public Member Functions inherited from sax | |
sax () | |
virtual | ~sax () |
void | setIgnoreHeaderLines (uint64_t lines) |
uint64_t | getIgnoreHeaderLines () |
void | setIgnoreFooterLines (uint64_t lines) |
uint64_t | getIgnoreFooterLines () |
virtual bool | parse (input *in) |
virtual bool | parseFile (const char *filename) |
virtual bool | parseString (const char *string) |
const char * | getError () |
Public Member Functions inherited from object | |
virtual | ~object () |
Protected Member Functions | |
virtual bool | tagStart (const char *ns, const char *name) |
virtual bool | attributeName (const char *name) |
virtual bool | attributeValue (const char *value) |
virtual bool | text (const char *string) |
virtual bool | tagEnd (const char *ns, const char *name) |
virtual bool | comment (const char *string) |
virtual bool | cdata (const char *string) |
The xmlsax class is a base class for an SAX-style parser for XML data. To use this class, you should create a class that inherits from it and implements its protected virtual methods.
xmlsax::xmlsax | ( | ) |
Creates an instance of the xmlsax class.
|
virtual |
Deletes this instance of the xmlsax class.
Gets called when an attribute name is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.
Gets called when an attribute value is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.
Gets called when cdata is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.
Gets called when a comment is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.
Gets called when an end tag is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.
Gets called when a start tag is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.
Gets called when a block of text is parsed.
Returns true on success and false if an error occurred. Parsing stops if this method returns false.
This implementation just returns true by a child class may override this method to do something else.
Reimplemented in xmldom.