#include "ACEXML/common/XMLReader.h"
Inheritance diagram for ACEXML_XMLReader:
Public Methods | |
virtual ACEXML_ContentHandler * | getContentHandler (void) const=0 |
Return the current content handler. More... | |
virtual ACEXML_DTDHandler * | getDTDHandler (void) const=0 |
Return the current DTD handler. More... | |
virtual ACEXML_EntityResolver * | getEntityResolver (void) const=0 |
Return the current entity resolver. More... | |
virtual ACEXML_ErrorHandler * | getErrorHandler (void) const=0 |
Return the current error handler. More... | |
virtual int | getFeature (const ACEXML_Char *name, ACEXML_Env &xmlenv)=0 |
Look up the value of a feature. More... | |
virtual void * | getProperty (const ACEXML_Char *name, ACEXML_Env &xmlenv)=0 |
Look up the value of a property. More... | |
virtual void | parse (ACEXML_InputSource *input, ACEXML_Env &xmlenv)=0 |
Parse an XML document. More... | |
virtual void | parse (const ACEXML_Char *systemId, ACEXML_Env &xmlenv)=0 |
Parse an XML document from a system identifier (URI). More... | |
virtual void | setContentHandler (ACEXML_ContentHandler *handler)=0 |
Allow an application to register a content event handler. More... | |
virtual void | setDTDHandler (ACEXML_DTDHandler *handler)=0 |
Allow an application to register a DTD event handler. More... | |
virtual void | setEntityResolver (ACEXML_EntityResolver *resolver)=0 |
Allow an application to register an entity resolver. More... | |
virtual void | setErrorHandler (ACEXML_ErrorHandler *handler)=0 |
Allow an application to register an error event handler. More... | |
virtual void | setFeature (const ACEXML_Char *name, int boolean_value, ACEXML_Env &xmlenv)=0 |
Activating or deactivating a feature. More... | |
virtual void | setProperty (const ACEXML_Char *name, void *value, ACEXML_Env &xmlenv)=0 |
Set the value of a property. More... |
XMLReader is the interface that an XML parser's SAX2 driver must implement. This interface allows an application to set and query features and properties in the parser, to register event handlers for document processing, and to initiate a document parse.
All SAX interfaces are assumed to be synchronous: the parse methods must not return until parsing is complete, and readers must wait for an event-handler callback to return before reporting the next event.
|
Return the current content handler.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Return the current DTD handler.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Return the current entity resolver.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Return the current error handler.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Look up the value of a feature. This method allows programmers to check whether a specific feature has been activated in the parser. Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Look up the value of a property.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Parse an XML document from a system identifier (URI).
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Parse an XML document.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Allow an application to register a content event handler.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Allow an application to register a DTD event handler.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Allow an application to register an entity resolver.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Allow an application to register an error event handler.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Activating or deactivating a feature.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |
|
Set the value of a property.
Reimplemented in ACEXML_XMLFilterImpl, and ACEXML_Parser. |