Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

CP_M_XMLHandler Class Reference

CP_M_XMLHandler. More...

Inheritance diagram for CP_M_XMLHandler:

CP_XML_NullHandler List of all members.

Public Member Functions

 CP_M_XMLHandler ()
virtual ~CP_M_XMLHandler ()
virtual CP_M_XMLHandlerOnStartElement (const XML_Char *, CP_XMLAttributes &)
virtual bool OnEndElement (const XML_Char *)
virtual void OnCharacters (const XML_Char *, SInt16)
virtual void OnStartCData ()
virtual void OnEndCData ()
virtual void OnProcessingInstruction (const XML_Char *, const XML_Char *)
virtual void OnComment (const XML_Char *)

Detailed Description

Base mix-in class for objects that handle setting of information from an XML stream of data.


Constructor & Destructor Documentation

CP_M_XMLHandler::CP_M_XMLHandler  ) 
 

Constructor.

virtual CP_M_XMLHandler::~CP_M_XMLHandler  )  [virtual]
 

Destructor.


Member Function Documentation

virtual CP_M_XMLHandler* CP_M_XMLHandler::OnStartElement const XML_Char *  ,
CP_XMLAttributes
[virtual]
 

Called from the XML parser when a start element is encountered in the XML document. Subclasses need to override this routine to provide handling of the passed in attributes. You need to return the CP_M_XMLHandler object that is going to receive the next OnStartElement call.

Reimplemented in CP_XML_NullHandler.

virtual bool CP_M_XMLHandler::OnEndElement const XML_Char *   )  [virtual]
 

Called when an end element is encountered in the XML document.

Reimplemented in CP_XML_NullHandler.

virtual void CP_M_XMLHandler::OnCharacters const XML_Char *  ,
SInt16 
[virtual]
 

Called when you have character data in an XML element. Note: it is possible for the XML parser to send your data in various parts, and not all at once.

Parameters:
s - the character data.
inLength - the length of the data passed in.

Reimplemented in CP_XML_NullHandler.

virtual void CP_M_XMLHandler::OnStartCData  )  [virtual]
 

Called when a CDATA section is encountered.

virtual void CP_M_XMLHandler::OnEndCData  )  [virtual]
 

Called when the previous CDATA section is ending.

virtual void CP_M_XMLHandler::OnProcessingInstruction const XML_Char *  ,
const XML_Char * 
[virtual]
 

Called when a processing instruction is encountered.

virtual void CP_M_XMLHandler::OnComment const XML_Char *   )  [virtual]
 

Called when a comment is encountered.


The documentation for this class was generated from the following file:
Generated on Sat Sep 17 20:01:49 2005 for CPLAT by  doxygen 1.4.0