ACEXML
6.4.0
|
ACEXML_SAXPrint_Handler is an example SAX event handler. More...
#include <SAXPrint_Handler.h>
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 () |
![]() | |
ACEXML_DefaultHandler (void) | |
virtual | ~ACEXML_DefaultHandler (void) |
![]() | |
virtual | ~ACEXML_ContentHandler (void) |
![]() | |
virtual | ~ACEXML_DTDHandler (void) |
![]() | |
virtual | ~ACEXML_EntityResolver (void) |
![]() | |
virtual | ~ACEXML_ErrorHandler (void) |
Private Attributes | |
size_t | indent_ |
ACEXML_Char * | fileName_ |
ACEXML_Locator * | locator_ |
ACEXML_SAXPrint_Handler is an example SAX event handler.
This SAX event handler try to regenerate the XML document it reads with correct indentation.
ACEXML_SAXPrint_Handler::ACEXML_SAXPrint_Handler | ( | const ACEXML_Char * | name | ) |
|
virtual |
|
virtual |
Receive notification of character data.
Reimplemented from ACEXML_DefaultHandler.
ACEXML_INLINE void ACEXML_SAXPrint_Handler::dec_indent | ( | void | ) |
|
virtual |
Receive notification of the end of a document.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of the end of an element.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
End the scope of a prefix-URI mapping.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of a recoverable error.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of a non-recoverable error.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of ignorable whitespace in element content.
Reimplemented from ACEXML_DefaultHandler.
ACEXML_INLINE void ACEXML_SAXPrint_Handler::inc_indent | ( | void | ) |
|
virtual |
Receive notification of a notation declaration event.
Reimplemented from ACEXML_DefaultHandler.
void ACEXML_SAXPrint_Handler::print_indent | ( | void | ) |
|
virtual |
Receive notification of a processing instruction.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Allow the application to resolve external entities.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive an object for locating the origin of SAX document events.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of a skipped entity.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of the beginning of a document.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of the beginning of an element.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Begin the scope of a prefix-URI Namespace mapping.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of an unparsed entity declaration event.
Reimplemented from ACEXML_DefaultHandler.
|
virtual |
Receive notification of a warning.
Reimplemented from ACEXML_DefaultHandler.
|
private |
|
private |
|
private |