ACEXML_SAXPrint_Handler is an example SAX event handler.
More...
#include <SAXPrint_Handler.h>
List of all members.
Public Member Functions |
| ACEXML_SAXPrint_Handler (const ACEXML_Char *name) |
virtual | ~ACEXML_SAXPrint_Handler (void) |
virtual void | characters (const ACEXML_Char *ch, size_t start, size_t length) |
virtual void | endDocument (void) |
virtual void | endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName) |
virtual void | endPrefixMapping (const ACEXML_Char *prefix) |
virtual void | ignorableWhitespace (const ACEXML_Char *ch, int start, int length) |
virtual void | processingInstruction (const ACEXML_Char *target, const ACEXML_Char *data) |
virtual void | setDocumentLocator (ACEXML_Locator *locator) |
virtual void | skippedEntity (const ACEXML_Char *name) |
virtual void | startDocument (void) |
virtual void | startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts) |
virtual void | startPrefixMapping (const ACEXML_Char *prefix, const ACEXML_Char *uri) |
virtual void | notationDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId) |
virtual void | unparsedEntityDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, const ACEXML_Char *notationName) |
virtual ACEXML_InputSource * | resolveEntity (const ACEXML_Char *publicId, const ACEXML_Char *systemId) |
virtual void | error (ACEXML_SAXParseException &exception) |
virtual void | fatalError (ACEXML_SAXParseException &exception) |
virtual void | warning (ACEXML_SAXParseException &exception) |
void | inc_indent () |
void | dec_indent () |
void | print_indent () |
Private Attributes |
size_t | indent_ |
ACEXML_Char * | fileName_ |
ACEXML_Locator * | locator_ |
Detailed Description
ACEXML_SAXPrint_Handler is an example SAX event handler.
This SAX event handler try to regenerate the XML document it reads with correct indentation.
Constructor & Destructor Documentation
ACEXML_SAXPrint_Handler::ACEXML_SAXPrint_Handler |
( |
const ACEXML_Char * |
name |
) |
|
ACEXML_SAXPrint_Handler::~ACEXML_SAXPrint_Handler |
( |
void |
|
) |
[virtual] |
Member Function Documentation
void ACEXML_SAXPrint_Handler::characters |
( |
const ACEXML_Char * |
ch, |
|
|
size_t |
start, |
|
|
size_t |
length | |
|
) |
| | [virtual] |
ACEXML_INLINE void ACEXML_SAXPrint_Handler::dec_indent |
( |
void |
|
) |
|
void ACEXML_SAXPrint_Handler::endDocument |
( |
void |
|
) |
[virtual] |
void ACEXML_SAXPrint_Handler::endPrefixMapping |
( |
const ACEXML_Char * |
prefix |
) |
[virtual] |
void ACEXML_SAXPrint_Handler::ignorableWhitespace |
( |
const ACEXML_Char * |
ch, |
|
|
int |
start, |
|
|
int |
length | |
|
) |
| | [virtual] |
ACEXML_INLINE void ACEXML_SAXPrint_Handler::inc_indent |
( |
void |
|
) |
|
void ACEXML_SAXPrint_Handler::print_indent |
( |
void |
|
) |
|
void ACEXML_SAXPrint_Handler::processingInstruction |
( |
const ACEXML_Char * |
target, |
|
|
const ACEXML_Char * |
data | |
|
) |
| | [virtual] |
void ACEXML_SAXPrint_Handler::setDocumentLocator |
( |
ACEXML_Locator * |
locator |
) |
[virtual] |
void ACEXML_SAXPrint_Handler::skippedEntity |
( |
const ACEXML_Char * |
name |
) |
[virtual] |
void ACEXML_SAXPrint_Handler::startDocument |
( |
void |
|
) |
[virtual] |
void ACEXML_SAXPrint_Handler::startPrefixMapping |
( |
const ACEXML_Char * |
prefix, |
|
|
const ACEXML_Char * |
uri | |
|
) |
| | [virtual] |
Member Data Documentation
The documentation for this class was generated from the following files: