Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members  

judo::ElementStreamEventListener Class Reference

XML parser event interface. More...

#include <judo.hpp>

Inheritance diagram for judo::ElementStreamEventListener:

jabberoo::Session List of all members.

Public Member Functions

virtual void onDocumentStart (Element *e)=0
 Event point for XML document start event.

virtual void onElement (Element *e)=0
 Event point for immediate children of XML document root.

virtual void onCDATA (CDATA *c)
 Event point for immediate CDATA of an XML document root.

virtual void onDocumentEnd ()=0
 Event point for XML document end event.


Detailed Description

XML parser event interface.

Definition at line 343 of file judo.hpp.


Member Function Documentation

virtual void judo::ElementStreamEventListener::onCDATA CDATA   c [inline, virtual]
 

Event point for immediate CDATA of an XML document root.

Override this method to get notified when CDATA is encountered immediately below the root document. This is a fairly rare condition within most Jabber processing, but is required for those rare cases. If you don't override this method, the CDATA is automatically cleaned up for you.

Parameters:
c CDATA node. Be sure to delete this once you are done with it.

Reimplemented in jabberoo::Session.

Definition at line 374 of file judo.hpp.

virtual void judo::ElementStreamEventListener::onDocumentEnd   [pure virtual]
 

Event point for XML document end event.

Override this method to get notified when the XML document is ending

Implemented in jabberoo::Session.

virtual void judo::ElementStreamEventListener::onDocumentStart Element   e [pure virtual]
 

Event point for XML document start event.

Override this method to get notified when the XML document is starting

Parameters:
e Root document element. Be sure to delete this once you are done with it

Implemented in jabberoo::Session.

virtual void judo::ElementStreamEventListener::onElement Element   e [pure virtual]
 

Event point for immediate children of XML document root.

Override this method to get notified when a complete child Element has been parsed.

Parameters:
e Child element. Be sure to delete this once you are done with it

Implemented in jabberoo::Session.


The documentation for this class was generated from the following file:
Generated on Thu Jul 24 13:31:56 2003 for jabberoo by doxygen1.3-rc3