Poco::XML

class DefaultHandler

File Information

Library: XML
Package: SAX
Header: Poco/SAX/DefaultHandler.h

Description

Default base class for SAX2 event handlers. 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.

Inheritance

Direct Base Classes: EntityResolver, DTDHandler, ContentHandler, ErrorHandler

All Base Classes: ContentHandler, DTDHandler, EntityResolver, ErrorHandler

Member Summary

Member Functions: characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, releaseInputSource, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning

Inherited Functions: characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, releaseInputSource, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning

Constructors

DefaultHandler

DefaultHandler();

Creates the DefaultHandler.

Destructor

~DefaultHandler virtual

~DefaultHandler();

Destroys the DefaultHandler.

Member Functions

characters virtual

void characters(
    const XMLChar ch[],
    int start,
    int length
);

endDocument virtual

void endDocument();

endElement virtual

void endElement(
    const XMLString & uri,
    const XMLString & localName,
    const XMLString & qname
);

endPrefixMapping virtual

void endPrefixMapping(
    const XMLString & prefix
);

error virtual

void error(
    const SAXException & exc
);

fatalError virtual

void fatalError(
    const SAXException & exc
);

ignorableWhitespace virtual

void ignorableWhitespace(
    const XMLChar ch[],
    int start,
    int length
);

notationDecl virtual

void notationDecl(
    const XMLString & name,
    const XMLString * publicId,
    const XMLString * systemId
);

processingInstruction virtual

void processingInstruction(
    const XMLString & target,
    const XMLString & data
);

releaseInputSource virtual

void releaseInputSource(
    InputSource * pSource
);

resolveEntity virtual

InputSource * resolveEntity(
    const XMLString * publicId,
    const XMLString & systemId
);

setDocumentLocator virtual

void setDocumentLocator(
    const Locator * loc
);

skippedEntity virtual

void skippedEntity(
    const XMLString & name
);

startDocument virtual

void startDocument();

startElement virtual

void startElement(
    const XMLString & uri,
    const XMLString & localName,
    const XMLString & qname,
    const Attributes & attributes
);

startPrefixMapping virtual

void startPrefixMapping(
    const XMLString & prefix,
    const XMLString & uri
);

unparsedEntityDecl virtual

void unparsedEntityDecl(
    const XMLString & name,
    const XMLString * publicId,
    const XMLString & systemId,
    const XMLString & notationName
);

warning virtual

void warning(
    const SAXException & exc
);

Securely control IoT edge devices from anywhere   Connect a Device