#include <XmlParser.h>


Public Member Functions | |
| XmlParser () | |
| virtual | ~XmlParser () |
Protected Member Functions | |
| void | parse () |
| virtual const String & | readOneChar ()=0 |
| virtual void | eventOpeningElement (const String &path)=0 |
| virtual void | eventClosingElement (const String &path, const String &value)=0 |
| virtual void | eventError (const String &msg)=0 |
Private Member Functions | |
| const String & | readNextChar () |
| void | test (bool, const String &msg) |
| void | parseElement (String path, String s) |
| void | parseAttribute (String path, String s) |
| bool | isASeparator (String s) const |
| bool | operator== (const XmlParser &) const |
| bool | operator!= (const XmlParser &) const |
| const XmlParser & | operator= (const XmlParser &) |
| XmlParser (const XmlParser &) | |
Abstract class to parse XML data. *** INTERNAL USAGE ***
Definition at line 78 of file XmlParser.h.
| XmlParser::XmlParser | ( | ) |
Definition at line 67 of file XmlParser.cpp.
| XmlParser::~XmlParser | ( | ) | [virtual] |
Definition at line 186 of file XmlParser.cpp.
| alize::XmlParser::XmlParser | ( | const XmlParser & | ) | [private] |
Not implemented
| virtual void alize::XmlParser::eventClosingElement | ( | const String & | path, |
| const String & | value | ||
| ) | [protected, pure virtual] |
Implemented in alize::ConfigFileReaderXml, alize::MixtureFileReaderXml, and alize::MixtureServerFileReaderXml.
Referenced by parseAttribute(), and parseElement().
| virtual void alize::XmlParser::eventError | ( | const String & | msg ) | [protected, pure virtual] |
Implemented in alize::ConfigFileReaderXml, alize::MixtureFileReaderXml, and alize::MixtureServerFileReaderXml.
Referenced by test().
| virtual void alize::XmlParser::eventOpeningElement | ( | const String & | path ) | [protected, pure virtual] |
Implemented in alize::ConfigFileReaderXml, alize::MixtureFileReaderXml, and alize::MixtureServerFileReaderXml.
Referenced by parseAttribute(), and parseElement().
| bool XmlParser::isASeparator | ( | String | s ) | const [private] |
Definition at line 181 of file XmlParser.cpp.
Referenced by parseAttribute(), parseElement(), and readNextChar().
| bool alize::XmlParser::operator!= | ( | const XmlParser & | ) | const [private] |
Not implemented
| bool alize::XmlParser::operator== | ( | const XmlParser & | ) | const [private] |
| void XmlParser::parse | ( | ) | [protected] |
Definition at line 70 of file XmlParser.cpp.
References parseElement(), readNextChar(), readOneChar(), and test().
Referenced by alize::ConfigFileReaderXml::readConfig().
Definition at line 145 of file XmlParser.cpp.
References eventClosingElement(), eventOpeningElement(), isASeparator(), readNextChar(), readOneChar(), and test().
Referenced by parseElement().
Definition at line 77 of file XmlParser.cpp.
References eventClosingElement(), eventOpeningElement(), isASeparator(), parseAttribute(), readNextChar(), readOneChar(), and test().
Referenced by parse().
| const String & XmlParser::readNextChar | ( | ) | [private] |
Definition at line 170 of file XmlParser.cpp.
References isASeparator(), and readOneChar().
Referenced by parse(), parseAttribute(), and parseElement().
| virtual const String& alize::XmlParser::readOneChar | ( | ) | [protected, pure virtual] |
Implemented in alize::ConfigFileReaderXml, alize::MixtureFileReaderXml, and alize::MixtureServerFileReaderXml.
Referenced by parse(), parseAttribute(), parseElement(), and readNextChar().
| void XmlParser::test | ( | bool | v, |
| const String & | msg | ||
| ) | [private] |
Definition at line 184 of file XmlParser.cpp.
References eventError().
Referenced by parse(), parseAttribute(), and parseElement().
1.7.2