Logo Search packages:      
Sourcecode: poco version File versions  Download package

Poco::XML::XMLFilterImpl Class Reference

#include <XMLFilterImpl.h>

Inheritance diagram for Poco::XML::XMLFilterImpl:

Poco::XML::XMLFilter Poco::XML::EntityResolver Poco::XML::DTDHandler Poco::XML::ContentHandler Poco::XML::ErrorHandler Poco::XML::XMLReader Poco::XML::WhitespaceFilter

List of all members.

Detailed Description

Base class for deriving an XML filter.

This class is designed to sit between an XMLReader and the client application's event handlers. By default, it does nothing but pass requests up to the reader and events on to the handlers unmodified, but subclasses can override specific methods to modify the event stream or the configuration requests as they pass through.

Definition at line 55 of file XMLFilterImpl.h.

Public Member Functions

void characters (const XMLChar ch[], int start, int length)
void endDocument ()
void endElement (const XMLString &uri, const XMLString &localName, const XMLString &qname)
void endPrefixMapping (const XMLString &prefix)
void error (const SAXException &e)
void fatalError (const SAXException &e)
ContentHandlergetContentHandler () const
DTDHandlergetDTDHandler () const
EntityResolvergetEntityResolver () const
ErrorHandlergetErrorHandler () const
bool getFeature (const XMLString &featureId) const
XMLReadergetParent () const
 Destroys the XMLFilterImpl.
void * getProperty (const XMLString &propertyId) const
void ignorableWhitespace (const XMLChar ch[], int start, int length)
void notationDecl (const XMLString &name, const XMLString *publicId, const XMLString *systemId)
void parse (const XMLString &systemId)
void parse (InputSource *pSource)
void processingInstruction (const XMLString &target, const XMLString &data)
void releaseInputSource (InputSource *pSource)
InputSourceresolveEntity (const XMLString *publicId, const XMLString &systemId)
void setContentHandler (ContentHandler *pContentHandler)
 Return the current DTD handler.
void setDocumentLocator (const Locator *loc)
void setDTDHandler (DTDHandler *pDTDHandler)
 Return the current entity resolver.
void setEntityResolver (EntityResolver *pResolver)
void setErrorHandler (ErrorHandler *pErrorHandler)
 Return the current content handler.
void setFeature (const XMLString &featureId, bool state)
 Return the current error handler.
void setParent (XMLReader *pParent)
void setProperty (const XMLString &propertyId, void *value)
void setProperty (const XMLString &propertyId, const XMLString &value)
void skippedEntity (const XMLString &prefix)
void startDocument ()
void startElement (const XMLString &uri, const XMLString &localName, const XMLString &qname, const Attributes &attrList)
void startPrefixMapping (const XMLString &prefix, const XMLString &uri)
void unparsedEntityDecl (const XMLString &name, const XMLString *publicId, const XMLString &systemId, const XMLString &notationName)
void warning (const SAXException &e)
 XMLFilterImpl (XMLReader *pParent)
 ~XMLFilterImpl ()
 Construct an XML filter with the specified parent.

Static Public Attributes

static const XMLString FEATURE_EXTERNAL_GENERAL_ENTITIES = toXMLString("http://xml.org/sax/features/external-general-entities")
static const XMLString FEATURE_EXTERNAL_PARAMETER_ENTITIES = toXMLString("http://xml.org/sax/features/external-parameter-entities")
static const XMLString FEATURE_NAMESPACE_PREFIXES = toXMLString("http://xml.org/sax/features/namespace-prefixes")
static const XMLString FEATURE_NAMESPACES = toXMLString("http://xml.org/sax/features/namespaces")
static const XMLString FEATURE_STRING_INTERNING = toXMLString("http://xml.org/sax/features/string-interning")
static const XMLString FEATURE_VALIDATION = toXMLString("http://xml.org/sax/features/validation")
static const XMLString PROPERTY_DECLARATION_HANDLER = toXMLString("http://xml.org/sax/properties/declaration-handler")
static const XMLString PROPERTY_LEXICAL_HANDLER = toXMLString("http://xml.org/sax/properties/lexical-handler")

Protected Member Functions

XMLReaderparent () const
virtual void setupParse ()

Private Attributes

 Setup the event handlers in the parent reader.

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index