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

ACEXML_DefaultHandler Class Reference

ACEXML_DefaultHandler. More...

#include "ACEXML/common/DefaultHandler.h"

Inheritance diagram for ACEXML_DefaultHandler:

Inheritance graph
[legend]
Collaboration diagram for ACEXML_DefaultHandler:

Collaboration graph
[legend]
List of all members.

Public Methods

 ACEXML_DefaultHandler (void)
virtual ~ACEXML_DefaultHandler (void)
virtual void characters (const ACEXML_Char *ch, int start, int length ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void endDocument (ACEXML_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void ignorableWhitespace (const ACEXML_Char *ch, int start, int length ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void processingInstruction (const ACEXML_Char *target, const ACEXML_Char *data ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void setDocumentLocator (ACEXML_Locator *locator)
virtual void skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void startDocument (ACEXML_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void startPrefixMapping (const ACEXML_Char *prefix, const ACEXML_Char *uri ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void notationDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void unparsedEntityDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, const ACEXML_Char *notationName ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual ACEXML_InputSourceresolveEntity (const ACEXML_Char *publicId, const ACEXML_Char *systemId ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void error (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void fatalError (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))
virtual void warning (ACEXML_SAXParseException &exception ACEXML_ENV_ARG_DECL) ACE_THROW_SPEC((ACEXML_SAXException))

Detailed Description

ACEXML_DefaultHandler.

This class is available as a convenience base class for SAX2 applications: it provides default implementations for all of the callbacks in the four core SAX2 handler classes:

Application writers can extend this class when they need to implement only part of an interface; parser writers can instantiate this class to provide default handlers when the application has not supplied its own.

Definition at line 45 of file DefaultHandler.h.


Constructor & Destructor Documentation

ACEXML_DefaultHandler::ACEXML_DefaultHandler void   
 

Default constructor.

Definition at line 8 of file DefaultHandler.cpp.

00009 {
00010   // no-op
00011 }

ACEXML_DefaultHandler::~ACEXML_DefaultHandler void    [virtual]
 

destructor.

Definition at line 13 of file DefaultHandler.cpp.

00014 {
00015   // no-op
00016 }


Member Function Documentation

void ACEXML_DefaultHandler::characters const ACEXML_Char   ch,
int    start,
int length    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of character data.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

Definition at line 19 of file DefaultHandler.cpp.

References ACEXML_Char, and ACEXML_ENV_ARG_DECL_NOT_USED.

00024 {
00025   // No-op.
00026 }

void ACEXML_DefaultHandler::endDocument ACEXML_ENV_SINGLE_ARG_DECL    [virtual]
 

Receive notification of the end of a document.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

Definition at line 29 of file DefaultHandler.cpp.

References ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED.

00031 {
00032   // No-op.
00033 }

virtual void ACEXML_DefaultHandler::endElement const ACEXML_Char   namespaceURI,
const ACEXML_Char   localName,
const ACEXML_Char *qName    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of the end of an element.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::endPrefixMapping const ACEXML_Char *prefix    ACEXML_ENV_ARG_DECL [virtual]
 

End the scope of a prefix-URI mapping.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::error ACEXML_SAXParseException &exception    ACEXML_ENV_ARG_DECL [virtual]
 

Receive notification of a recoverable error.

Implements ACEXML_ErrorHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::fatalError ACEXML_SAXParseException &exception    ACEXML_ENV_ARG_DECL [virtual]
 

Receive notification of a non-recoverable error.

Implements ACEXML_ErrorHandler.

Reimplemented in ACEXML_Print_Handler.

void ACEXML_DefaultHandler::ignorableWhitespace const ACEXML_Char   ch,
int    start,
int length    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of ignorable whitespace in element content.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

Definition at line 52 of file DefaultHandler.cpp.

References ACEXML_Char, and ACEXML_ENV_ARG_DECL_NOT_USED.

00056 {
00057   // No-op.
00058 }

virtual void ACEXML_DefaultHandler::notationDecl const ACEXML_Char   name,
const ACEXML_Char   publicId,
const ACEXML_Char *systemId    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of a notation declaration event.

Implements ACEXML_DTDHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::processingInstruction const ACEXML_Char   target,
const ACEXML_Char *data    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of a processing instruction.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

virtual ACEXML_InputSource* ACEXML_DefaultHandler::resolveEntity const ACEXML_Char   publicId,
const ACEXML_Char *systemId    ACEXML_ENV_ARG_DECL
[virtual]
 

Allow the application to resolve external entities.

Implements ACEXML_EntityResolver.

Reimplemented in ACEXML_Print_Handler.

void ACEXML_DefaultHandler::setDocumentLocator ACEXML_Locator   locator [virtual]
 

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

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

Definition at line 69 of file DefaultHandler.cpp.

00070 {
00071   // No-op.
00072 }

virtual void ACEXML_DefaultHandler::skippedEntity const ACEXML_Char *name    ACEXML_ENV_ARG_DECL [virtual]
 

Receive notification of a skipped entity.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

void ACEXML_DefaultHandler::startDocument ACEXML_ENV_SINGLE_ARG_DECL    [virtual]
 

Receive notification of the beginning of a document.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

Definition at line 82 of file DefaultHandler.cpp.

References ACEXML_ENV_SINGLE_ARG_DECL_NOT_USED.

00084 {
00085   // No-op.
00086 }

virtual void ACEXML_DefaultHandler::startElement const ACEXML_Char   namespaceURI,
const ACEXML_Char   localName,
const ACEXML_Char   qName,
ACEXML_Attributes *atts    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of the beginning of an element.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::startPrefixMapping const ACEXML_Char   prefix,
const ACEXML_Char *uri    ACEXML_ENV_ARG_DECL
[virtual]
 

Begin the scope of a prefix-URI Namespace mapping.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::unparsedEntityDecl const ACEXML_Char   name,
const ACEXML_Char   publicId,
const ACEXML_Char   systemId,
const ACEXML_Char *notationName    ACEXML_ENV_ARG_DECL
[virtual]
 

Receive notification of an unparsed entity declaration event.

Implements ACEXML_DTDHandler.

Reimplemented in ACEXML_Print_Handler.

virtual void ACEXML_DefaultHandler::warning ACEXML_SAXParseException &exception    ACEXML_ENV_ARG_DECL [virtual]
 

Receive notification of a warning.

Implements ACEXML_ErrorHandler.

Reimplemented in ACEXML_Print_Handler.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 13:26:44 2003 for ACEXML by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002