XMLParser Class Reference

This class is in charge of parsing a XML document and creates the corresponding object. More...

#include <xmlparser.h>

List of all members.

Public Member Functions

 XMLParser ()
 Constructor.
 ~XMLParser ()
 Destructor.
BaseMessageparse (const InputSource &xmlMessage) const
 Parses a message.
BaseMessageparse (const std::string &xmlMessage) const
 Parses a message.
bool getParsingError () const
 It tells if an error occurs during parsing. true If an error occurs during parsing, false otherwise.
SAXParseException * getParsingException () const
 It returns exception caught during parsing, null if nothing was caught.

Static Public Member Functions

static void Initialize ()
 Initiliaze xerces.


Detailed Description

This class is in charge of parsing a XML document and creates the corresponding object.

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

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


Member Function Documentation

SAXParseException* XMLParser::getParsingException  )  const [inline]
 

It returns exception caught during parsing, null if nothing was caught.

Returns:
Exception caught

BaseMessage * XMLParser::parse const std::string &  xmlMessage  )  const
 

Parses a message.

Parameters:
xmlMessage XML Document as string.

BaseMessage * XMLParser::parse const InputSource &  xmlMessage  )  const
 

Parses a message.

Parameters:
xmlMessage XML Document as an input source (file).


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