#include <ACEXML/common/ContentHandler.h>
Inheritance diagram for ACEXML_ContentHandler:
Public Member Functions | |
virtual | ~ACEXML_ContentHandler (void) |
virtual void | characters (const ACEXML_Char *ch, size_t start, size_t length ACEXML_ENV_ARG_DECL)=0 |
virtual void | endDocument (ACEXML_ENV_SINGLE_ARG_DECL)=0 |
virtual void | endElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName ACEXML_ENV_ARG_DECL)=0 |
virtual void | endPrefixMapping (const ACEXML_Char *prefix ACEXML_ENV_ARG_DECL)=0 |
virtual void | ignorableWhitespace (const ACEXML_Char *ch, int start, int length ACEXML_ENV_ARG_DECL)=0 |
virtual void | processingInstruction (const ACEXML_Char *target, const ACEXML_Char *data ACEXML_ENV_ARG_DECL)=0 |
virtual void | setDocumentLocator (ACEXML_Locator *locator)=0 |
virtual void | skippedEntity (const ACEXML_Char *name ACEXML_ENV_ARG_DECL)=0 |
virtual void | startDocument (ACEXML_ENV_SINGLE_ARG_DECL)=0 |
virtual void | startElement (const ACEXML_Char *namespaceURI, const ACEXML_Char *localName, const ACEXML_Char *qName, ACEXML_Attributes *atts ACEXML_ENV_ARG_DECL)=0 |
virtual void | startPrefixMapping (const ACEXML_Char *prefix, const ACEXML_Char *uri ACEXML_ENV_ARG_DECL)=0 |
This is the main interface that most SAX applications implement: if the application needs to be informed of basic parsing events, it implements this interface and registers an instance with the SAX parser using the setContentHandler method. The parser uses the instance to report basic document-related events like the start and end of elements and character data.
The order of events in this interface is very important, and mirrors the order of information in the document itself. For example, all of an element's content (character data, processing instructions, and/or subelements) will appear, in order, between the startElement event and the corresponding endElement event.
Definition at line 45 of file ContentHandler.h.
|
|
|
Receive notification of character data. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, ACEXML_SAXPrint_Handler, and Basic_Content_Tester. Referenced by ACEXML_XMLFilterImpl::characters(), ACEXML_Parser::parse_cdata(), and ACEXML_Parser::parse_content(). |
|
Receive notification of the end of a document. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_XMLFilterImpl::endDocument(), and ACEXML_Parser::parse(). |
|
Receive notification of the end of an element. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_XMLFilterImpl::endElement(), ACEXML_Parser::parse_content(), and ACEXML_Parser::parse_element(). |
|
End the scope of a prefix-URI mapping. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_XMLFilterImpl::endPrefixMapping(), and ACEXML_Parser::prefix_mapping(). |
|
Receive notification of ignorable whitespace in element content. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_XMLFilterImpl::ignorableWhitespace(). |
|
Receive notification of a processing instruction. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_Parser::parse_processing_instruction(), and ACEXML_XMLFilterImpl::processingInstruction(). |
|
Receive an object for locating the origin of SAX document events. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_Parser::parse(), ACEXML_Parser::pop_context(), ACEXML_XMLFilterImpl::setDocumentLocator(), and ACEXML_Parser::switch_input(). |
|
Receive notification of a skipped entity. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_Parser::parse_entity_reference(), and ACEXML_XMLFilterImpl::skippedEntity(). |
|
Receive notification of the beginning of a document. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_Parser::parse(), and ACEXML_XMLFilterImpl::startDocument(). |
|
Receive notification of the beginning of an element. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_Parser::parse_element(), and ACEXML_XMLFilterImpl::startElement(). |
|
Begin the scope of a prefix-URI Namespace mapping. Implemented in ACEXML_DefaultHandler, ACEXML_XMLFilterImpl, ACEXML_Print_Handler, and ACEXML_SAXPrint_Handler. Referenced by ACEXML_Parser::prefix_mapping(), and ACEXML_XMLFilterImpl::startPrefixMapping(). |