MlpParseHandlers Class Reference

Class that do the most of work. More...

#include <MlpParseHandlers.hpp>

Collaboration diagram for MlpParseHandlers:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MlpParseHandlers ()
 Constructor.
 ~MlpParseHandlers ()
 Destructor.
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const xercesc::Attributes &attrs)
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
void characters (const XMLCh *const chars, const unsigned int length)
 Processes CDATA or PCDATA of each tag.
void ignorableWhitespace (const XMLCh *const chars, const unsigned int length)
void processingInstruction (const XMLCh *const target, const XMLCh *const data)
void resetDocument ()
void setDocumentLocator (const xercesc::Locator *const locator)
void startDocument ()
void endDocument ()
void startPrefixMapping (const XMLCh *const prefix, const XMLCh *const uri)
void endPrefixMapping (const XMLCh *const prefix)
void skippedEntity (const XMLCh *const name)
void clean ()
 Cleans MlpParseHandler.
void setNewMsg (MlpMessage *emptyMsg)

Detailed Description

Class that do the most of work.

This class is passed to Xerces SAX2 XMLReader and its member functions are called to process XML.


Constructor & Destructor Documentation

MlpParseHandlers::MlpParseHandlers (  ) 

Constructor.

Constructor

Constructor initiates tag stack, tagNames object and incoming message.

MlpParseHandlers::~MlpParseHandlers (  ) 

Destructor.

Destructor

Destructor cleans tag stack.


Member Function Documentation

void MlpParseHandlers::characters ( const XMLCh *const   chars,
const unsigned int  length 
)

Processes CDATA or PCDATA of each tag.

Processes CDATA and PCDATA between starting and closing XML elements

This method is called until all characters of CDATA or PCDATA of processed tag are in _charBuf.

Parameters:
chars Part of CDATA or PCDATA.
length Length of chars content.
void MlpParseHandlers::clean (  ) 

Cleans MlpParseHandler.

This method is called after the message is processed. It cleans all internal variables and tag stack.

void MlpParseHandlers::endDocument (  ) 

not used

Not used

void MlpParseHandlers::endElement ( const XMLCh *const   uri,
const XMLCh *const   localname,
const XMLCh *const   qname 
)

Processes each closing XML element

void MlpParseHandlers::endPrefixMapping ( const XMLCh *const   prefix  ) 

not used

Not used

void MlpParseHandlers::ignorableWhitespace ( const XMLCh *const   chars,
const unsigned int  length 
)

not used

Not used

void MlpParseHandlers::processingInstruction ( const XMLCh *const   target,
const XMLCh *const   data 
)

not used

Not used

void MlpParseHandlers::resetDocument (  ) 

not used

Not used

void MlpParseHandlers::setDocumentLocator ( const xercesc::Locator *const   locator  ) 

not used

Not used

void MlpParseHandlers::setNewMsg ( MlpMessage emptyMsg  ) 
void MlpParseHandlers::skippedEntity ( const XMLCh *const   name  ) 

not used

Not used

void MlpParseHandlers::startDocument (  ) 

not used

Not used

void MlpParseHandlers::startElement ( const XMLCh *const   uri,
const XMLCh *const   localname,
const XMLCh *const   qname,
const xercesc::Attributes &  attrs 
)

Processes each starting XML element

void MlpParseHandlers::startPrefixMapping ( const XMLCh *const   prefix,
const XMLCh *const   uri 
)

not used

Not used


The documentation for this class was generated from the following files:

Generated on Tue Jan 19 10:25:56 2010 for "MLP Library" by  doxygen 1.6.1