BeautifierHandlers Class Reference
Beautifier Handlers Class.
More...
#include <BeautifierHandlers.H>
List of all members.
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.
|
Detailed Description
Beautifier Handlers Class.
Constructor & Destructor Documentation
BeautifierHandlers::BeautifierHandlers |
( |
UserData * |
pretty_data |
) |
|
Constructor.
- Parameters:
-
| pretty_data | The User Data Structure(input and output text) |
Member Function Documentation
void BeautifierHandlers::characters |
( |
const XMLCh *const |
chars, |
|
|
const XMLSize_t |
length | |
|
) |
| | |
Characters Handler.
- Parameters:
-
| chars | The text of some element |
| length | The length of the text |
void BeautifierHandlers::endElement |
( |
const XMLCh *const |
chars |
) |
|
End Element Handler.
- Parameters:
-
| chars | The name of the ending element |
void BeautifierHandlers::error |
( |
const SAXParseException & |
exc |
) |
|
Handle SAXParseException in case of error.
- Parameters:
-
| SAXParseException | The exception caught |
void BeautifierHandlers::fatalError |
( |
const SAXParseException & |
exc |
) |
|
Handle SAXParseException in case of fatal error.
- Parameters:
-
| SAXParseException | The exception caught |
void BeautifierHandlers::startElement |
( |
const XMLCh *const |
name, |
|
|
AttributeList & |
attributes | |
|
) |
| | |
Start Element Handler.
- Parameters:
-
| 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.
- Parameters:
-
| SAXParseException | The exception caught |
The documentation for this class was generated from the following file: