#include <BeautifierHandlers.H>
Public Member Functions | |
BeautifierHandlers (UserData *pretty_data) | |
Constructor. | |
~BeautifierHandlers () | |
Destructor. | |
void | startElement (const XMLCh *const name, AttributeList &attributes) |
Start Element Handler. | |
void | characters (const XMLCh *const chars, const XMLSize_t length) |
Characters Handler. | |
void | endElement (const XMLCh *const chars) |
End Element Handler. | |
void | warning (const SAXParseException &exc) |
Handle SAXParseException in case of warning. | |
void | error (const SAXParseException &exc) |
Handle SAXParseException in case of error. | |
void | fatalError (const SAXParseException &exc) |
Handle SAXParseException in case of fatal error. |
BeautifierHandlers::BeautifierHandlers | ( | UserData * | pretty_data | ) |
Constructor.
pretty_data | The User Data Structure(input and output text) |
void BeautifierHandlers::characters | ( | const XMLCh *const | chars, | |
const XMLSize_t | length | |||
) |
Characters Handler.
chars | The text of some element | |
length | The length of the text |
void BeautifierHandlers::endElement | ( | const XMLCh *const | chars | ) |
End Element Handler.
chars | The name of the ending element |
void BeautifierHandlers::error | ( | const SAXParseException & | exc | ) |
Handle SAXParseException in case of error.
SAXParseException | The exception caught |
void BeautifierHandlers::fatalError | ( | const SAXParseException & | exc | ) |
Handle SAXParseException in case of fatal error.
SAXParseException | The exception caught |
void BeautifierHandlers::startElement | ( | const XMLCh *const | name, | |
AttributeList & | attributes | |||
) |
Start Element Handler.
name | The name of the starting element | |
attributes | The list of attributes of the element |
void BeautifierHandlers::warning | ( | const SAXParseException & | exc | ) |
Handle SAXParseException in case of warning.
SAXParseException | The exception caught |