#include "ACEXML/common/XMLFilterImpl.h"
Inheritance diagram for ACEXML_XMLFilterImpl:
Public Methods | |
ACEXML_XMLFilterImpl (void) | |
Default constructor. More... | |
ACEXML_XMLFilterImpl (ACEXML_XMLReader *parent) | |
Construct an XML filter with the specified parent. More... | |
virtual | ~ACEXML_XMLFilterImpl (void) |
Destructor. More... | |
virtual int | getFeature (const ACEXML_Char *name, ACEXML_Env &xmlenv) |
Look up the value of a feature. More... | |
virtual void * | getProperty (const ACEXML_Char *name, ACEXML_Env &xmlenv) |
Look up the value of a property. More... | |
virtual void | parse (ACEXML_InputSource *input, ACEXML_Env &xmlenv) |
Parse an XML document. More... | |
virtual void | parse (const ACEXML_Char *systemId, ACEXML_Env &xmlenv) |
Parse an XML document from a system identifier (URI). More... | |
virtual void | setFeature (const ACEXML_Char *name, int boolean_value, ACEXML_Env &xmlenv) |
Activating or deactivating a feature. More... | |
virtual void | setProperty (const ACEXML_Char *name, void *value, ACEXML_Env &xmlenv) |
Set the value of a property. More... | |
virtual ACEXML_XMLReader * | getParent (void) const |
Get the parent reader. More... | |
virtual void | setParent (ACEXML_XMLReader *parent) |
Set the parent reader. More... | |
virtual ACEXML_DTDHandler * | getDTDHandler (void) const |
Return the current DTD handler. More... | |
virtual ACEXML_ContentHandler * | getContentHandler (void) const |
Return the current content handler. More... | |
virtual ACEXML_EntityResolver * | getEntityResolver (void) const |
Return the current entity resolver. More... | |
virtual ACEXML_ErrorHandler * | getErrorHandler (void) const |
Return the current error handler. More... | |
virtual void | setDTDHandler (ACEXML_DTDHandler *handler) |
Allow an application to register a DTD event handler. More... | |
virtual void | setContentHandler (ACEXML_ContentHandler *handler) |
Allow an application to register a content event handler. More... | |
virtual void | setEntityResolver (ACEXML_EntityResolver *handler) |
Allow an application to register an entity resolver. More... | |
virtual void | setErrorHandler (ACEXML_ErrorHandler *handler) |
Allow an application to register an error event handler. More... | |
virtual void | characters (const ACEXML_Char *ch, int start, int length, ACEXML_Env &xmlenv) |
Receive notification of character data. More... | |
virtual void | endDocument (ACEXML_Env &xmlenv) |
Receive notification of the end of a document. More... | |
virtual void | endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Env &xmlenv) |
Receive notification of the end of an element. More... | |
virtual void | endPrefixMapping (const ACEXML_Char *prefix, ACEXML_Env &xmlenv) |
End the scope of a prefix-URI mapping. More... | |
virtual void | ignorableWhitespace (const ACEXML_Char *ch, int start, int length, ACEXML_Env &xmlenv) |
Receive notification of ignorable whitespace in element content. More... | |
virtual void | processingInstruction (const ACEXML_Char *target, const ACEXML_Char *data, ACEXML_Env &xmlenv) |
Receive notification of a processing instruction. More... | |
virtual void | setDocumentLocator (ACEXML_Locator *locator, ACEXML_Env &xmlenv) |
Receive an object for locating the origin of SAX document events. More... | |
virtual void | skippedEntity (const ACEXML_Char *name, ACEXML_Env &xmlenv) |
Receive notification of a skipped entity. More... | |
virtual void | startDocument (ACEXML_Env &xmlenv) |
Receive notification of the beginning of a document. More... | |
virtual void | startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts, ACEXML_Env &xmlenv) |
Receive notification of the beginning of an element. More... | |
virtual void | startPrefixMapping (const ACEXML_Char *prefix, const ACEXML_Char *uri, ACEXML_Env &xmlenv) |
Begin the scope of a prefix-URI Namespace mapping. More... | |
virtual void | notationDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, ACEXML_Env &xmlenv) |
Receive notification of a notation declaration event. More... | |
virtual void | unparsedEntityDecl (const ACEXML_Char *name, const ACEXML_Char *publicId, const ACEXML_Char *systemId, const ACEXML_Char *notationName, ACEXML_Env &xmlenv) |
Receive notification of an unparsed entity declaration event. More... | |
virtual ACEXML_InputSource * | resolveEntity (const ACEXML_Char *publicId, const ACEXML_Char *systemId, ACEXML_Env &xmlenv) |
Allow the application to resolve external entities. More... | |
virtual void | error (ACEXML_SAXParseException &exception, ACEXML_Env &xmlenv) |
Receive notification of a recoverable error. More... | |
virtual void | fatalError (ACEXML_SAXParseException &exception, ACEXML_Env &xmlenv) |
Receive notification of a non-recoverable error. More... | |
virtual void | warning (ACEXML_SAXParseException &exception, ACEXML_Env &xmlenv) |
Receive notification of a warning. More... | |
Protected Methods | |
int | setupParser (void) |
Private Attributes | |
ACEXML_XMLReader * | parent_ |
ACEXML_Locator * | locator_ |
ACEXML_EntityResolver * | entityResolver_ |
ACEXML_DTDHandler * | dtdHandler_ |
ACEXML_ContentHandler * | contentHandler_ |
ACEXML_ErrorHandler * | errorHandler_ |
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.
|
Default constructor. Create with no parent. |
|
Construct an XML filter with the specified parent.
|
|
Destructor.
|
|
Receive notification of character data.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of the end of a document.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of the end of an element.
Reimplemented from ACEXML_ContentHandler. |
|
End the scope of a prefix-URI mapping.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of a recoverable error.
Reimplemented from ACEXML_ErrorHandler. |
|
Receive notification of a non-recoverable error.
Reimplemented from ACEXML_ErrorHandler. |
|
Return the current content handler.
Reimplemented from ACEXML_XMLReader. |
|
Return the current DTD handler.
Reimplemented from ACEXML_XMLReader. |
|
Return the current entity resolver.
Reimplemented from ACEXML_XMLReader. |
|
Return the current error handler.
Reimplemented from ACEXML_XMLReader. |
|
Look up the value of a feature. This method allows programmers to check whether a specific feature has been activated in the parser. Reimplemented from ACEXML_XMLReader. |
|
Get the parent reader.
Reimplemented from ACEXML_XMLFilter. |
|
Look up the value of a property.
Reimplemented from ACEXML_XMLReader. |
|
Receive notification of ignorable whitespace in element content.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of a notation declaration event.
Reimplemented from ACEXML_DTDHandler. |
|
Parse an XML document from a system identifier (URI).
Reimplemented from ACEXML_XMLReader. |
|
Parse an XML document.
Reimplemented from ACEXML_XMLReader. |
|
Receive notification of a processing instruction.
Reimplemented from ACEXML_ContentHandler. |
|
Allow the application to resolve external entities.
Reimplemented from ACEXML_EntityResolver. |
|
Allow an application to register a content event handler.
Reimplemented from ACEXML_XMLReader. |
|
Receive an object for locating the origin of SAX document events.
Reimplemented from ACEXML_ContentHandler. |
|
Allow an application to register a DTD event handler.
Reimplemented from ACEXML_XMLReader. |
|
Allow an application to register an entity resolver.
Reimplemented from ACEXML_XMLReader. |
|
Allow an application to register an error event handler.
Reimplemented from ACEXML_XMLReader. |
|
Activating or deactivating a feature.
Reimplemented from ACEXML_XMLReader. |
|
Set the parent reader.
Reimplemented from ACEXML_XMLFilter. |
|
Set the value of a property.
Reimplemented from ACEXML_XMLReader. |
|
|
|
Receive notification of a skipped entity.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of the beginning of a document.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of the beginning of an element.
Reimplemented from ACEXML_ContentHandler. |
|
Begin the scope of a prefix-URI Namespace mapping.
Reimplemented from ACEXML_ContentHandler. |
|
Receive notification of an unparsed entity declaration event.
Reimplemented from ACEXML_DTDHandler. |
|
Receive notification of a warning.
Reimplemented from ACEXML_ErrorHandler. |
|
|
|
|
|
|
|
|
|
|
|
|