afl::XercesParser Class Reference

#include <xercesparser.h>

Inheritance diagram for afl::XercesParser:

afl::XMLParser List of all members.

Public Member Functions

virtual XMLNodeparseFile (const std::string &filename)
virtual XMLNodeparseString (const std::string &xml)

Detailed Description

a XML parser that uses the Xerces-C library


Member Function Documentation

virtual XMLNode* afl::XercesParser::parseFile const std::string &  filename  )  [virtual]
 

reads an XML file and returns a pointer to the root element of the DOM tree.

Parameters:
filename the file that stores the XML document
Returns:
a pointer to the root element. It is the client's responsibility to delete this node when done.
Exceptions:
InvalidDataFileException 

Implements afl::XMLParser.

virtual XMLNode* afl::XercesParser::parseString const std::string &  xml  )  [virtual]
 

parses an XML string and returns a pointer to the root element of the DOM tree.

Parameters:
xml the string that holds the XML document
Returns:
a pointer to the root element. It is the client's responsibility to delete this node when done.
Exceptions:
InvalidDataFileException 

Implements afl::XMLParser.


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 07:17:52 2006 for afl by  doxygen 1.4.6