Class Poco::XML::WhitespaceFilter
Author: Applied Informatics Software Engineering GmbH and Contributors
Date: 2009-11-24

# 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

~WhitespaceFilter();

Destroys the WhitespaceFilter.

## Member Functions

### characters

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

See also: Poco::XML::XMLFilterImpl::characters()

### comment

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

See also: Poco::XML::LexicalHandler::comment()

### endCDATA

void endCDATA();

See also: Poco::XML::LexicalHandler::endCDATA()

### endDTD

void endDTD();

See also: Poco::XML::LexicalHandler::endDTD()

### endDocument

void endDocument();

See also: Poco::XML::XMLFilterImpl::endDocument()

### endElement

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

See also: Poco::XML::XMLFilterImpl::endElement()

### endEntity

void endEntity(
const XMLString & name
);

See also: Poco::XML::LexicalHandler::endEntity()

### getProperty

void * getProperty(
const XMLString & propertyId
) const;

See also: Poco::XML::XMLFilterImpl::getProperty()

### ignorableWhitespace

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

See also: Poco::XML::XMLFilterImpl::ignorableWhitespace()

### processingInstruction

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

See also: Poco::XML::XMLFilterImpl::processingInstruction()

### setProperty

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

See also: Poco::XML::XMLFilterImpl::setProperty()

### setProperty

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

See also: Poco::XML::XMLFilterImpl::setProperty()

### startCDATA

void startCDATA();

See also: Poco::XML::LexicalHandler::startCDATA()

### startDTD

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

See also: Poco::XML::LexicalHandler::startDTD()

### startDocument

void startDocument();

See also: Poco::XML::XMLFilterImpl::startDocument()

### startElement

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

See also: Poco::XML::XMLFilterImpl::startElement()

### startEntity

void startEntity(
const XMLString & name
);

See also: Poco::XML::LexicalHandler::startEntity()

### setupParse

void setupParse();

See also: Poco::XML::XMLFilterImpl::setupParse()