Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

skExpatParser Class Reference

This class gives an interface to the Expat parser. More...

#include <skExpatParser.h>

List of all members.

Public Member Functions

 skExpatParser ()
 Construct a parser.

virtual ~skExpatParser ()
 Destructor.

skElementparse (skInputSource &in, skExecutableContext &context)
 Parse an input stream and construct an element from it.


Detailed Description

This class gives an interface to the Expat parser.

It can be used to parse an XML document and return a Simkin Element class.

(Note: Expat is an Open Source XML parser library. You can obtain it from http://expat.sourceforge.net/)


Member Function Documentation

skElement * skExpatParser::parse skInputSource in,
skExecutableContext context
 

Parse an input stream and construct an element from it.

Parameters:
in the input stream containing the XML document
context a context object - this can be used to pass back exceptions where exception handling is disabled
Returns:
the root of the document in the stream, or 0 if a parse error occurred
Exceptions:
XMLParseException thrown if there was an error and exceptions are enabled. Otherwise this is returned in the context object
Symbian - a leaving function


The documentation for this class was generated from the following files:
Generated on Fri Dec 17 20:27:35 2004 for Simkin by doxygen1.3