#include <Parser.h>
Public Member Functions | |
| Parser (void) | |
| ~Parser (void) | |
| bool | parse (const cl7::string_type &xml_text, Document *document) |
Static Public Member Functions | |
| static bool | is_xml_letter (cl7::char_type chr) |
| static bool | is_xml_base_char (cl7::char_type chr) |
| static bool | is_xml_ideographic (cl7::char_type chr) |
| static bool | is_xml_combining_char (cl7::char_type chr) |
| static bool | is_xml_digit (cl7::char_type chr) |
| static bool | is_xml_extender (cl7::char_type chr) |
| static bool | is_xml_char (cl7::char_type chr) |
| static bool | is_xml_whitespace (cl7::char_type chr) |
| static bool | is_xml_name_char (cl7::char_type chr) |
| static bool | is_xml_name_start_char (cl7::char_type chr) |
The parser building an xml tree from a file/text.
| xl7::xml::Parser::Parser | ( | void | ) |
Default constructor.
Reimplemented from cl7::strings::Parser.
| xl7::xml::Parser::~Parser | ( | void | ) | [virtual] |
Destructor.
Reimplemented from cl7::strings::Parser.
| bool xl7::xml::Parser::is_xml_base_char | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a base character.
| bool xl7::xml::Parser::is_xml_char | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a legal xml character.
| bool xl7::xml::Parser::is_xml_combining_char | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a combining character.
| bool xl7::xml::Parser::is_xml_digit | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a digit.
| bool xl7::xml::Parser::is_xml_extender | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as an extender.
| bool xl7::xml::Parser::is_xml_ideographic | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as an ideographic character.
| bool xl7::xml::Parser::is_xml_letter | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a letter.
| bool xl7::xml::Parser::is_xml_name_char | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a name character.
| bool xl7::xml::Parser::is_xml_name_start_char | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as a name character and is allowed for being the first character of a name.
| bool xl7::xml::Parser::is_xml_whitespace | ( | cl7::char_type | chr | ) | [static] |
Returns true, if the given character is categorized as whitespace.
| bool xl7::xml::Parser::parse | ( | const cl7::string_type & | xml_text, | |
| Document * | document | |||
| ) |
Parses the given xml text and manipulates the given document object representing the corresponding xml tree.
1.7.1