ACEXML
6.1.0
|
#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.
ACEXML_XMLReader::~ACEXML_XMLReader | ( | void | ) | [virtual] |
virtual ACEXML_ContentHandler* ACEXML_XMLReader::getContentHandler | ( | void | ) | const [pure virtual] |
Return the current content handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual ACEXML_DTDHandler* ACEXML_XMLReader::getDTDHandler | ( | void | ) | const [pure virtual] |
Return the current DTD handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual ACEXML_EntityResolver* ACEXML_XMLReader::getEntityResolver | ( | void | ) | const [pure virtual] |
Return the current entity resolver.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual ACEXML_ErrorHandler* ACEXML_XMLReader::getErrorHandler | ( | void | ) | const [pure virtual] |
Return the current error handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual int ACEXML_XMLReader::getFeature | ( | const ACEXML_Char * | name | ) | [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.
virtual void* ACEXML_XMLReader::getProperty | ( | const ACEXML_Char * | name | ) | [pure virtual] |
Look up the value of a property.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
virtual void ACEXML_XMLReader::parse | ( | ACEXML_InputSource * | input | ) | [pure virtual] |
Parse an XML document.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
virtual void ACEXML_XMLReader::parse | ( | const ACEXML_Char * | systemId | ) | [pure virtual] |
Parse an XML document from a system identifier (URI).
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
virtual void ACEXML_XMLReader::setContentHandler | ( | ACEXML_ContentHandler * | handler | ) | [pure virtual] |
Allow an application to register a content event handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual void ACEXML_XMLReader::setDTDHandler | ( | ACEXML_DTDHandler * | handler | ) | [pure virtual] |
Allow an application to register a DTD event handler.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
virtual void ACEXML_XMLReader::setEntityResolver | ( | ACEXML_EntityResolver * | resolver | ) | [pure virtual] |
Allow an application to register an entity resolver.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual void ACEXML_XMLReader::setErrorHandler | ( | ACEXML_ErrorHandler * | handler | ) | [pure virtual] |
Allow an application to register an error event handler.
Implemented in ACEXML_XMLFilterImpl, and ACEXML_Parser.
virtual void ACEXML_XMLReader::setFeature | ( | const ACEXML_Char * | name, |
int | boolean_value | ||
) | [pure virtual] |
Activating or deactivating a feature.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.
virtual void ACEXML_XMLReader::setProperty | ( | const ACEXML_Char * | name, |
void * | value | ||
) | [pure virtual] |
Set the value of a property.
Implemented in ACEXML_Parser, and ACEXML_XMLFilterImpl.