Poco::XML

class WhitespaceFilter

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

Description

This implementation of the SAX2 XMLFilter interface filters all whitespace-only character data element content.

Inheritance

Direct Base Classes: XMLFilterImpl, LexicalHandler

All Base Classes: ContentHandler, DTDHandler, EntityResolver, ErrorHandler, LexicalHandler, XMLFilter, XMLFilterImpl, XMLReader

Member Summary

Member Functions: characters, comment, endCDATA, endDTD, endDocument, endElement, endEntity, getProperty, ignorableWhitespace, processingInstruction, setProperty, setupParse, startCDATA, startDTD, startDocument, startElement, startEntity

Inherited Functions: characters, comment, endCDATA, endDTD, endDocument, endElement, endEntity, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parent, parse, parseMemoryNP, processingInstruction, releaseInputSource, resolveEntity, setContentHandler, setDTDHandler, setDocumentLocator, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, setupParse, skippedEntity, startCDATA, startDTD, startDocument, startElement, startEntity, startPrefixMapping, unparsedEntityDecl, warning

Constructors

WhitespaceFilter

WhitespaceFilter();

Creates the WhitespaceFilter, with no parent.

WhitespaceFilter

WhitespaceFilter(
    XMLReader * pReader
);

Creates the WhitespaceFilter with the specified parent.

Destructor

~WhitespaceFilter virtual

~WhitespaceFilter();

Destroys the WhitespaceFilter.

Member Functions

characters virtual

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

comment virtual

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

endCDATA virtual

void endCDATA();

endDTD virtual

void endDTD();

endDocument virtual

void endDocument();

endElement virtual

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

endEntity virtual

void endEntity(
    const XMLString & name
);

getProperty virtual

void * getProperty(
    const XMLString & propertyId
) const;

ignorableWhitespace virtual

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

processingInstruction virtual

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

setProperty virtual

void setProperty(
    const XMLString & propertyId,
    const XMLString & value
);

setProperty virtual

void setProperty(
    const XMLString & propertyId,
    void * value
);

startCDATA virtual

void startCDATA();

startDTD virtual

void startDTD(
    const XMLString & name,
    const XMLString & publicId,
    const XMLString & systemId
);

startDocument virtual

void startDocument();

startElement virtual

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

startEntity virtual

void startEntity(
    const XMLString & name
);

setupParse protected virtual

void setupParse();