#include <ACEXML/common/XMLFilterImpl.h>
Inheritance diagram for ACEXML_XMLFilterImpl:
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 35 of file XMLFilterImpl.h.
|
Default constructor. Create with no parent. Definition at line 9 of file XMLFilterImpl.cpp.
00010 : parent_ (0), 00011 locator_ (0), 00012 entityResolver_ (0), 00013 dtdHandler_ (0), 00014 contentHandler_ (0), 00015 errorHandler_ (0) 00016 { 00017 } |
|
Construct an XML filter with the specified parent. Definition at line 19 of file XMLFilterImpl.cpp.
00020 : parent_ (parent), 00021 locator_ (0), 00022 entityResolver_ (0), 00023 dtdHandler_ (0), 00024 contentHandler_ (0), 00025 errorHandler_ (0) 00026 { 00027 } |
|
Destructor. Definition at line 29 of file XMLFilterImpl.cpp.
00030 {
00031 // @@ How are all the object lifecycles managed?
00032 }
|
|
Receive notification of character data. Implements ACEXML_ContentHandler. |
|
Receive notification of the end of a document. Implements ACEXML_ContentHandler. |
|
Receive notification of the end of an element. Implements ACEXML_ContentHandler. |
|
End the scope of a prefix-URI mapping. Implements ACEXML_ContentHandler. |
|
Receive notification of a recoverable error. Implements ACEXML_ErrorHandler. |
|
Receive notification of a non-recoverable error. Implements ACEXML_ErrorHandler. |
|
Return the current content handler. Implements ACEXML_XMLReader. |
|
Return the current DTD handler. Implements ACEXML_XMLReader. |
|
Return the current entity resolver. Implements ACEXML_XMLReader. |
|
Return the current error handler. Implements 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. Implements ACEXML_XMLFilter. |
|
Look up the value of a property. Reimplemented from ACEXML_XMLReader. |
|
Receive notification of ignorable whitespace in element content. Implements ACEXML_ContentHandler. |
|
Receive notification of a notation declaration event. Implements ACEXML_DTDHandler. |
|
Parse an XML document from a system identifier (URI). Implements ACEXML_XMLReader. Definition at line 47 of file XMLFilterImpl.cpp. References ACE_TEXT, ACEXML_Char, ACEXML_ENV_ARG_PARAMETER, and ACEXML_THROW.
00049 { 00050 if (this->setupParser () < 0) 00051 { 00052 ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("No Parent available"))); 00053 } 00054 00055 this->parent_->parse (new ACEXML_InputSource (systemId) ACEXML_ENV_ARG_PARAMETER); 00056 return; 00057 } |
|
Parse an XML document. Implements ACEXML_XMLReader. Definition at line 35 of file XMLFilterImpl.cpp. References ACE_TEXT, ACEXML_ENV_ARG_PARAMETER, and ACEXML_THROW.
00037 { 00038 if (this->setupParser () < 0) 00039 { 00040 ACEXML_THROW (ACEXML_SAXException (ACE_TEXT ("No Parent available"))); 00041 } 00042 this->parent_->parse (input ACEXML_ENV_ARG_PARAMETER); 00043 return; 00044 } |
|
Receive notification of a processing instruction. Implements ACEXML_ContentHandler. |
|
Allow the application to resolve external entities. Implements ACEXML_EntityResolver. |
|
Allow an application to register a content event handler. Implements ACEXML_XMLReader. |
|
Receive an object for locating the origin of SAX document events. Implements ACEXML_ContentHandler. |
|
Allow an application to register a DTD event handler. Implements ACEXML_XMLReader. |
|
Allow an application to register an entity resolver. Implements ACEXML_XMLReader. |
|
Allow an application to register an error event handler. Implements ACEXML_XMLReader. |
|
Activating or deactivating a feature. Reimplemented from ACEXML_XMLReader. |
|
Set the parent reader. Implements ACEXML_XMLFilter. |
|
Set the value of a property. Reimplemented from ACEXML_XMLReader. |
|
Definition at line 4 of file XMLFilterImpl.i. References ACEXML_XMLReader::setContentHandler(), ACEXML_XMLReader::setDTDHandler(), ACEXML_XMLReader::setEntityResolver(), and ACEXML_XMLReader::setErrorHandler().
00005 { 00006 if (this->parent_ == 0) 00007 return -1; 00008 00009 this->parent_->setEntityResolver (this); 00010 this->parent_->setDTDHandler (this); 00011 this->parent_->setContentHandler (this); 00012 this->parent_->setErrorHandler (this); 00013 return 0; 00014 } |
|
Receive notification of a skipped entity. Implements ACEXML_ContentHandler. |
|
Receive notification of the beginning of a document. Implements ACEXML_ContentHandler. |
|
Receive notification of the beginning of an element. Implements ACEXML_ContentHandler. |
|
Begin the scope of a prefix-URI Namespace mapping. Implements ACEXML_ContentHandler. |
|
Receive notification of an unparsed entity declaration event. Implements ACEXML_DTDHandler. |
|
Receive notification of a warning. Implements ACEXML_ErrorHandler. |
|
Reimplemented from ACEXML_XMLReader. Definition at line 99 of file XMLFilterImpl.h. |
|
Reimplemented from ACEXML_XMLReader. Definition at line 70 of file XMLFilterImpl.h. |
|
Reimplemented from ACEXML_XMLReader. Definition at line 99 of file XMLFilterImpl.h. |
|
Definition at line 284 of file XMLFilterImpl.h. |
|
Definition at line 283 of file XMLFilterImpl.h. |
|
Definition at line 282 of file XMLFilterImpl.h. |
|
Definition at line 285 of file XMLFilterImpl.h. |
|
Definition at line 281 of file XMLFilterImpl.h. |
|
Definition at line 280 of file XMLFilterImpl.h. |