#include <structurehandlerbase.h>
Inheritance diagram for StructureHandlerBase:

Public Member Functions | |
| StructureHandlerBase () | |
| Constructor. | |
| virtual | ~StructureHandlerBase () |
| Destructor. | |
| virtual StructureHandler * | startChild (const XMLCh *const , const Attributes &) |
| This method is called when a new element (Child) is met. | |
| virtual void | endDirectChild (const XMLCh *const , const std::string &) |
| This method is called when a closed element (Child) is met. | |
| virtual void | endElement (const XMLCh *const , const XMLCh *const ) |
| This method is called when the element which "makes" this StructureHandler is closed. (Not used). | |
| virtual void | endStructureChild (const XMLCh *const , const StructureHandler *) |
| This method is called when a element which causes a StructureHandler switch, is closed. | |
| virtual void | startElement (const XMLCh *const , const Attributes &) |
| This method is called when this StrucutreHandler is created. | |
Static Public Member Functions | |
| static int | readInt (const std::string &content) |
| Read an integer from the string. | |
It is provided for convenience. Derived class has just to override methods thay want.
Yves Houpert <yves.houpert@insa-rouen.fr>
|
||||||||||||
|
This method is called when a closed element (Child) is met. This method is used to process an element handled by this Structure Handler. Implements StructureHandler. Reimplemented in AddContactAnswerHandler, AnswerHandler, ContactHandler, ContactListHandler, ContentHandler, ErrorHandler, HeaderHandler, and StateChangedEventHandler. |
|
|
Read an integer from the string. It uses stl iostream to read from the string.
|
|
||||||||||||
|
This method is called when a new element (Child) is met. It returns a StructureHandler object able to parse the element structure. It returns null (0), if this handler is able to parse this structure.
Implements StructureHandler. Reimplemented in AddContactAnswerHandler, AnswerHandler, BambooHandler, ContactListHandler, EventHandler, RequestHandler, and StateChangedEventHandler. |
1.4.6