ACEXML 6.0.1
Public Member Functions

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 Member Functions

 ACEXML_DefaultHandler (void)
virtual ~ACEXML_DefaultHandler (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_InputSourceresolveEntity (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)

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.


Constructor & Destructor Documentation

ACEXML_DefaultHandler::ACEXML_DefaultHandler ( void  )

Default constructor.

ACEXML_DefaultHandler::~ACEXML_DefaultHandler ( void  ) [virtual]

destructor.


Member Function Documentation

void ACEXML_DefaultHandler::characters ( const ACEXML_Char ch,
size_t  start,
size_t  length 
) [virtual]

Receive notification of character data.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Print_Handler, ACEXML_SAXPrint_Handler, and Basic_Content_Tester.

void ACEXML_DefaultHandler::endDocument ( void  ) [virtual]

Receive notification of the end of a document.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::endElement ( const ACEXML_Char namespaceURI,
const ACEXML_Char localName,
const ACEXML_Char qName 
) [virtual]

Receive notification of the end of an element.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::endPrefixMapping ( const ACEXML_Char prefix) [virtual]

End the scope of a prefix-URI mapping.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::error ( ACEXML_SAXParseException exception) [virtual]

Receive notification of a recoverable error.

Implements ACEXML_ErrorHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::fatalError ( ACEXML_SAXParseException exception) [virtual]

Receive notification of a non-recoverable error.

Implements ACEXML_ErrorHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

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

Receive notification of ignorable whitespace in element content.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::notationDecl ( const ACEXML_Char name,
const ACEXML_Char publicId,
const ACEXML_Char systemId 
) [virtual]

Receive notification of a notation declaration event.

Implements ACEXML_DTDHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::processingInstruction ( const ACEXML_Char target,
const ACEXML_Char data 
) [virtual]

Receive notification of a processing instruction.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

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

Allow the application to resolve external entities.

Implements ACEXML_EntityResolver.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_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_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::skippedEntity ( const ACEXML_Char name) [virtual]

Receive notification of a skipped entity.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::startDocument ( void  ) [virtual]

Receive notification of the beginning of a document.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::startElement ( const ACEXML_Char namespaceURI,
const ACEXML_Char localName,
const ACEXML_Char qName,
ACEXML_Attributes atts 
) [virtual]

Receive notification of the beginning of an element.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::startPrefixMapping ( const ACEXML_Char prefix,
const ACEXML_Char uri 
) [virtual]

Begin the scope of a prefix-URI Namespace mapping.

Implements ACEXML_ContentHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::unparsedEntityDecl ( const ACEXML_Char name,
const ACEXML_Char publicId,
const ACEXML_Char systemId,
const ACEXML_Char notationName 
) [virtual]

Receive notification of an unparsed entity declaration event.

Implements ACEXML_DTDHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.

void ACEXML_DefaultHandler::warning ( ACEXML_SAXParseException exception) [virtual]

Receive notification of a warning.

Implements ACEXML_ErrorHandler.

Reimplemented in ACEXML_Svcconf_Handler, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines