Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::XMLParser Class Reference
[Core library]

XML Push parser. More...

#include <pxml.h>

List of all members.

Public Member Functions

 XMLParser ()
virtual ~XMLParser ()
void parse (const char *buffer, int len)
 Parse chunk of XML data.

void finish ()
 Finish parsing.

bool isWellFormed () const
 Returns true if the document is well formed.

void reset ()
 Reset the parser.

virtual void documentStart ()
 Called on start of an XML-Document.

virtual void documentEnd ()
 Called at the end of an XML-Document.

virtual void comment (const std::string &text)
virtual void characters (const char *text, unsigned len)
virtual void elementStart (const std::string &name, const std::map< std::string, std::string > &attr)
 Called on start of an XML-Element.

virtual void elementEnd (const std::string &name)
 Called at the end of an XML-Element.

virtual void warning (const std::string &msg)
virtual void error (const std::string &msg)
virtual void fatal (const std::string &msg)


Detailed Description

XML Push parser.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 34 of file pxml.h.


Constructor & Destructor Documentation

P::XMLParser::XMLParser  ) 
 

virtual P::XMLParser::~XMLParser  )  [virtual]
 


Member Function Documentation

virtual void P::XMLParser::characters const char *  text,
unsigned  len
[inline, virtual]
 

Definition at line 59 of file pxml.h.

virtual void P::XMLParser::comment const std::string &  text  )  [inline, virtual]
 

Definition at line 57 of file pxml.h.

virtual void P::XMLParser::documentEnd  )  [inline, virtual]
 

Called at the end of an XML-Document.

Definition at line 55 of file pxml.h.

virtual void P::XMLParser::documentStart  )  [inline, virtual]
 

Called on start of an XML-Document.

Definition at line 52 of file pxml.h.

virtual void P::XMLParser::elementEnd const std::string &  name  )  [inline, virtual]
 

Called at the end of an XML-Element.

Definition at line 66 of file pxml.h.

virtual void P::XMLParser::elementStart const std::string &  name,
const std::map< std::string, std::string > &  attr
[inline, virtual]
 

Called on start of an XML-Element.

Definition at line 62 of file pxml.h.

virtual void P::XMLParser::error const std::string &  msg  )  [inline, virtual]
 

Definition at line 69 of file pxml.h.

virtual void P::XMLParser::fatal const std::string &  msg  )  [inline, virtual]
 

Definition at line 70 of file pxml.h.

void P::XMLParser::finish  ) 
 

Finish parsing.

bool P::XMLParser::isWellFormed  )  const
 

Returns true if the document is well formed.

void P::XMLParser::parse const char *  buffer,
int  len
 

Parse chunk of XML data.

void P::XMLParser::reset  ) 
 

Reset the parser.

virtual void P::XMLParser::warning const std::string &  msg  )  [inline, virtual]
 

Definition at line 68 of file pxml.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:37 2004 for P::Classes by doxygen 1.3.3