#include <saxemitter.h>
Inheritance diagram for SAXEmitter:
Public Methods | |
SAXEmitter (void) | |
A constructor. More... | |
SAXEmitter (SAXReceptor *receptor) | |
A constructor. More... | |
virtual void | setSAXReceptor (SAXReceptor *receptor) |
Set SAX receptor. More... | |
virtual void | reportError (void) |
Report parser error messages. More... | |
virtual void | startElement (void *userData, const XmlChar *name, const XmlChar **atts) |
Start element handler. More... | |
virtual void | endElement (void *userData, const XmlChar *name) |
End element handler. More... | |
virtual void | characterData (void *userData, const XmlChar *data, int length) |
Character data handler. More... | |
virtual void | processingInstruction (void *userData, const XmlChar *target, const XmlChar *data) |
Processing instruction handler. More... | |
virtual void | comment (void *userData, const XmlChar *data) |
Comment handler. More... | |
virtual void | startCDATASection (void *userData) |
Start CDATA section handler. More... | |
virtual void | endCDATASection (void *userData) |
End CDATA section handler. More... | |
virtual void | defaultHandler (void *userData, const XmlChar *data, int length) |
Default handler. More... | |
virtual int | unknownEncoding (void *unknownEncodingData, const XmlChar *name, XML_Encoding *info) |
Unknown encoding handler. More... | |
virtual void | xmlDecl (void *userData, const XmlChar *version, const XmlChar *encoding, int standalone) |
XML declaration handler. More... | |
virtual void | startDoctypeDecl (void *userData, const XmlChar *doctypeName, const XmlChar *systemId, const XmlChar *publicId, int hasInternalSubset) |
Start doctype handler. More... | |
virtual void | endDoctypeDecl (void *userData) |
End doctype handler. More... | |
virtual void | entityDecl (void *userData, const XmlChar *entityName, int isParameterEntity, const XmlChar *value, int valueLength, const XmlChar *base, const XmlChar *systemId, const XmlChar *publicId, const XmlChar *notationName) |
Entity declaration handler. More... | |
virtual void | notationDecl (void *userData, const XmlChar *notationName, const XmlChar *base, const XmlChar *systemId, const XmlChar *publicId) |
Notation declaration handler. More... | |
Protected Attributes | |
SAXReceptor * | saxReceptor |
Pointer to the SAX receptor. |
The SAX emitter sends SAX events to registered SAX receptor. For example, if you call the startElement method of the emitter, it calls the startElement method of the receptor.
Definition at line 46 of file saxemitter.h.
|
A constructor. Initialization is performed. Definition at line 64 of file saxemitter.cpp. References saxReceptor. |
|
A constructor. Initialization is performed. Also, the saxReceptor if set.
Definition at line 76 of file saxemitter.cpp. References saxReceptor. |
|
Character data handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 144 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Comment handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 174 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Default handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 210 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
End CDATA section handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 197 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR. |
|
End doctype handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 275 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR. |
|
End element handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 127 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. Referenced by ElementModeler::followEdge, and ElementModeler::moveForward. |
|
Entity declaration handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 294 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Notation declaration handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 318 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Processing instruction handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 160 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Report parser error messages. Used for reporting error messages generated by Expat. Reimplemented from SAXBase. Definition at line 100 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR. |
|
Set SAX receptor. Sets the SAX receptor.
Definition at line 88 of file saxemitter.cpp. References saxReceptor. |
|
Start CDATA section handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 186 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR. |
|
Start doctype handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 259 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Start element handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 114 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |
|
Unknown encoding handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 225 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR_RETURN, and XmlChar. |
|
XML declaration handler. Calls the corresponding method of the SAX receptor.
Reimplemented from SAXBase. Definition at line 241 of file saxemitter.cpp. References SAFE_CALL_RECEPTOR, and XmlChar. |