ACEXML
6.4.1
|
#include <XMLReader.h>
Public Member Functions | |
virtual | ~ACEXML_XMLReader (void) |
virtual ACEXML_ContentHandler * | getContentHandler (void) const =0 |
virtual ACEXML_DTDHandler * | getDTDHandler (void) const =0 |
virtual ACEXML_EntityResolver * | getEntityResolver (void) const =0 |
virtual ACEXML_ErrorHandler * | getErrorHandler (void) const =0 |
virtual int | getFeature (const ACEXML_Char *name)=0 |
virtual void * | getProperty (const ACEXML_Char *name)=0 |
virtual void | parse (ACEXML_InputSource *input)=0 |
virtual void | parse (const ACEXML_Char *systemId)=0 |
virtual void | setContentHandler (ACEXML_ContentHandler *handler)=0 |
virtual void | setDTDHandler (ACEXML_DTDHandler *handler)=0 |
virtual void | setEntityResolver (ACEXML_EntityResolver *resolver)=0 |
virtual void | setErrorHandler (ACEXML_ErrorHandler *handler)=0 |
virtual void | setFeature (const ACEXML_Char *name, int boolean_value)=0 |
virtual void | setProperty (const ACEXML_Char *name, void *value)=0 |
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.
|
virtual |
|
pure virtual |
Return the current content handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Return the current DTD handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Return the current entity resolver.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Return the current error handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Look up the value of a feature. This method allows programmers to check whether a specific feature has been activated in the parser.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
|
pure virtual |
Look up the value of a property.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
|
pure virtual |
Parse an XML document.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
|
pure virtual |
Parse an XML document from a system identifier (URI).
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
|
pure virtual |
Allow an application to register a content event handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Allow an application to register a DTD event handler.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
|
pure virtual |
Allow an application to register an entity resolver.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Allow an application to register an error event handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
|
pure virtual |
Activating or deactivating a feature.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
|
pure virtual |
Set the value of a property.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.