zypp::parser::SAXParser Class Reference

#include <SAXParser.h>

Inheritance diagram for zypp::parser::SAXParser:

zypp::parser::yum2::YUMPrimaryParser List of all members.

: The element name

startElementDebug: : An XML parser context

called when an opening tag has been processed.

 SAXParser ()
virtual ~SAXParser ()
void parseFile (const Pathname &p)
virtual void startElement (const std::string name, const xmlChar **atts)
virtual void endElement (const std::string name)
virtual void characters (const xmlChar *ch, int len)
static void startElement_receiver (void *ctx, const xmlChar *name, const xmlChar **atts)
static void endElement_receiver (void *ctx, const xmlChar *name)
static void characters_receiver (void *data, const xmlChar *ch, int len)

Private Attributes

xmlSAXHandler _saxHandler

Detailed Description

Definition at line 29 of file SAXParser.h.


Constructor & Destructor Documentation

zypp::parser::SAXParser::SAXParser (  ) 

Definition at line 155 of file SAXParser.cc.

References _saxHandler, characters_receiver(), zypp::parser::emptySAXHandlerStruct, endElement_receiver(), zypp::parser::getEntity_receiver(), and startElement_receiver().

zypp::parser::SAXParser::~SAXParser (  )  [virtual]

Definition at line 195 of file SAXParser.cc.


Member Function Documentation

void zypp::parser::SAXParser::parseFile ( const Pathname &  p  ) 

Definition at line 137 of file SAXParser.cc.

References _saxHandler.

void zypp::parser::SAXParser::startElement ( const std::string  name,
const xmlChar **  atts 
) [virtual]

Reimplemented in zypp::parser::yum2::YUMPrimaryParser.

Definition at line 122 of file SAXParser.cc.

References MIL.

Referenced by startElement_receiver().

void zypp::parser::SAXParser::endElement ( const std::string  name  )  [virtual]

Reimplemented in zypp::parser::yum2::YUMPrimaryParser.

Definition at line 127 of file SAXParser.cc.

References MIL.

Referenced by endElement_receiver().

void zypp::parser::SAXParser::characters ( const xmlChar *  ch,
int  len 
) [virtual]

Reimplemented in zypp::parser::yum2::YUMPrimaryParser.

Definition at line 132 of file SAXParser.cc.

References MIL.

Referenced by characters_receiver().

void zypp::parser::SAXParser::startElement_receiver ( void *  ctx,
const xmlChar *  name,
const xmlChar **  atts 
) [static]

Definition at line 93 of file SAXParser.cc.

References startElement().

Referenced by SAXParser().

void zypp::parser::SAXParser::endElement_receiver ( void *  ctx,
const xmlChar *  name 
) [static]

Definition at line 109 of file SAXParser.cc.

References endElement().

Referenced by SAXParser().

void zypp::parser::SAXParser::characters_receiver ( void *  data,
const xmlChar *  ch,
int  len 
) [static]

Definition at line 101 of file SAXParser.cc.

References characters().

Referenced by SAXParser().


Member Data Documentation

xmlSAXHandler zypp::parser::SAXParser::_saxHandler [private]

Definition at line 46 of file SAXParser.h.

Referenced by parseFile(), and SAXParser().


The documentation for this class was generated from the following files:
Generated on Tue Nov 28 16:49:39 2006 for zypp by  doxygen 1.5.0