Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACEXML_Print_Handler Class Reference

ACEXML_Print_Handler is an example SAX event handler. More...

#include <Print_Handler.h>

Inheritance diagram for ACEXML_Print_Handler:

Inheritance graph
[legend]
Collaboration diagram for ACEXML_Print_Handler:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACEXML_Print_Handler (ACEXML_Char *fileName)
virtual ~ACEXML_Print_Handler (void)
virtual void characters (const ACEXML_Char *ch, int start, int length, ACEXML_Env &xmlenv)
 Receive notification of character data. More...

virtual void endDocument (ACEXML_Env &xmlenv)
 Receive notification of the end of a document. More...

virtual void endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Env &xmlenv)
 Receive notification of the end of an element. More...

virtual void endPrefixMapping (const ACEXML_Char *prefix, ACEXML_Env &xmlenv)
 End the scope of a prefix-URI mapping. More...

virtual void ignorableWhitespace (const ACEXML_Char *ch, int start, int length, ACEXML_Env &xmlenv)
 Receive notification of ignorable whitespace in element content. More...

virtual void processingInstruction (const ACEXML_Char *target, const ACEXML_Char *data, ACEXML_Env &xmlenv)
 Receive notification of a processing instruction. More...

virtual void setDocumentLocator (ACEXML_Locator *locator, ACEXML_Env &xmlenv)
 Receive an object for locating the origin of SAX document events. More...

virtual void skippedEntity (const ACEXML_Char *name, ACEXML_Env &xmlenv)
 Receive notification of a skipped entity. More...

virtual void startDocument (ACEXML_Env &xmlenv)
 Receive notification of the beginning of a document. More...

virtual void startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts, ACEXML_Env &xmlenv)
 Receive notification of the beginning of an element. More...

virtual void startPrefixMapping (const ACEXML_Char *prefix, const ACEXML_Char *uri, ACEXML_Env &xmlenv)
 Begin the scope of a prefix-URI Namespace mapping. More...

virtual void notationDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, ACEXML_Env &xmlenv)
 Receive notification of a notation declaration event. More...

virtual void unparsedEntityDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, const ACEXML_Char *notationName, ACEXML_Env &xmlenv)
 Receive notification of an unparsed entity declaration event. More...

virtual ACEXML_InputSourceresolveEntity (const ACEXML_Char *publicId, const ACEXML_Char *systemId, ACEXML_Env &xmlenv)
 Allow the application to resolve external entities. More...

virtual void error (ACEXML_SAXParseException &exception, ACEXML_Env &xmlenv)
 Receive notification of a recoverable error. More...

virtual void fatalError (ACEXML_SAXParseException &exception, ACEXML_Env &xmlenv)
 Receive notification of a non-recoverable error. More...

virtual void warning (ACEXML_SAXParseException &exception, ACEXML_Env &xmlenv)
 Receive notification of a warning. More...


Private Attributes

ACEXML_CharfileName_
ACEXML_Locatorlocator_

Detailed Description

ACEXML_Print_Handler is an example SAX event handler.

This SAX event handler prints out a detailed event report on every event it receives.


Constructor & Destructor Documentation

ACEXML_Print_Handler::ACEXML_Print_Handler ACEXML_Char   fileName
 

ACEXML_Print_Handler::~ACEXML_Print_Handler void    [virtual]
 


Member Function Documentation

void ACEXML_Print_Handler::characters const ACEXML_Char   cdata,
int    start,
int    end,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of character data.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::endDocument ACEXML_Env   xmlenv [virtual]
 

Receive notification of the end of a document.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::endElement const ACEXML_Char   uri,
const ACEXML_Char   name,
const ACEXML_Char   qName,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of the end of an element.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::endPrefixMapping const ACEXML_Char   prefix,
ACEXML_Env   xmlenv
[virtual]
 

End the scope of a prefix-URI mapping.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::error ACEXML_SAXParseException   ex,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of a recoverable error.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::fatalError ACEXML_SAXParseException   ex,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of a non-recoverable error.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::ignorableWhitespace const ACEXML_Char   ch,
int    start,
int    length,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of ignorable whitespace in element content.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::notationDecl const ACEXML_Char   name,
const ACEXML_Char   publicID,
const ACEXML_Char   systemID,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of a notation declaration event.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::processingInstruction const ACEXML_Char   target,
const ACEXML_Char   data,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of a processing instruction.

Reimplemented from ACEXML_DefaultHandler.

ACEXML_InputSource * ACEXML_Print_Handler::resolveEntity const ACEXML_Char   publicId,
const ACEXML_Char   systemId,
ACEXML_Env   xmlenv
[virtual]
 

Allow the application to resolve external entities.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::setDocumentLocator ACEXML_Locator   locator,
ACEXML_Env   xmlenv
[virtual]
 

Receive an object for locating the origin of SAX document events.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::skippedEntity const ACEXML_Char   name,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of a skipped entity.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::startDocument ACEXML_Env   xmlenv [virtual]
 

Receive notification of the beginning of a document.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::startElement const ACEXML_Char   uri,
const ACEXML_Char   name,
const ACEXML_Char   qName,
ACEXML_Attributes   alist,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of the beginning of an element.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::startPrefixMapping const ACEXML_Char   prefix,
const ACEXML_Char   uri,
ACEXML_Env   xmlenv
[virtual]
 

Begin the scope of a prefix-URI Namespace mapping.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::unparsedEntityDecl const ACEXML_Char   name,
const ACEXML_Char   publicID,
const ACEXML_Char   systemID,
const ACEXML_Char   notationName,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of an unparsed entity declaration event.

Reimplemented from ACEXML_DefaultHandler.

void ACEXML_Print_Handler::warning ACEXML_SAXParseException   exception,
ACEXML_Env   xmlenv
[virtual]
 

Receive notification of a warning.

Reimplemented from ACEXML_DefaultHandler.


Member Data Documentation

ACEXML_Char* ACEXML_Print_Handler::fileName_ [private]
 

ACEXML_Locator* ACEXML_Print_Handler::locator_ [private]
 


The documentation for this class was generated from the following files:
Generated on Thu Oct 10 17:28:04 2002 for ACEXML by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001