AnswerHandler Class Reference

Handler used to parse answer message. More...

#include <answerhandler.h>

Inheritance diagram for AnswerHandler:

StructureHandlerBase StructureHandler List of all members.

Public Member Functions

 AnswerHandler ()
 Constructor.
 ~AnswerHandler ()
 Destructor.
StructureHandlerstartChild (const XMLCh *const lname, const Attributes &attrs)
 This method is called when a new element (Child) is met.
void endDirectChild (const XMLCh *const lname, const std::string &content)
 This method is called when a closed element (Child) is met.
void startElement (const XMLCh *const localname, const Attributes &atts)
 This method is called when this StrucutreHandler is created.
void endStructureChild (const XMLCh *const lname, const StructureHandler *pHandler)
 This method is called when a element which causes a StructureHandler switch, is closed.

Detailed Description

Handler used to parse answer message.

Author:
Sylvain Archenault <sylvain.archenault@laposte.net>

Yves Houpert <yves.houpert@insa-rouen.fr>


Member Function Documentation

void AnswerHandler::endDirectChild const XMLCh *const   lname,
const std::string &  content
[virtual]
 

This method is called when a closed element (Child) is met.

This method is used to process an element handled by this Structure Handler.

Parameters:
lname Element name.
content Node content.

Reimplemented from StructureHandlerBase.

void AnswerHandler::endStructureChild const XMLCh *const   lname,
const StructureHandler pHandler
[virtual]
 

This method is called when a element which causes a StructureHandler switch, is closed.

Parameters:
lname name of element closed.
pHandler StructureHandler used to parse this element.

Reimplemented from StructureHandlerBase.

StructureHandler * AnswerHandler::startChild const XMLCh *const   lname,
const Attributes &  attrs
[virtual]
 

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.

Parameters:
lname Element name.
attrs The specified or defaulted attributes.
Returns:
A StructureHandler object, if the new element have to be process by another StructureHandler, null otherwise.

Reimplemented from StructureHandlerBase.

void AnswerHandler::startElement const XMLCh *const   localname,
const Attributes &  atts
[virtual]
 

This method is called when this StrucutreHandler is created.

Parameters:
localname Element name.
atts The specified or defaulted attributes.

Reimplemented from StructureHandlerBase.


The documentation for this class was generated from the following files:
Generated on Fri May 19 12:15:55 2006 for Bamboo Ch@t by  doxygen 1.4.6