Public Member Functions | Static Public Member Functions

xl7::xml::Parser Class Reference

#include <Parser.h>

Inheritance diagram for xl7::xml::Parser:
cl7::strings::Parser

List of all members.

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)

Detailed Description

The parser building an xml tree from a file/text.


Constructor & Destructor Documentation

xl7::xml::Parser::Parser ( void   ) 

Default constructor.

Reimplemented from cl7::strings::Parser.

xl7::xml::Parser::~Parser ( void   )  [virtual]

Destructor.

Reimplemented from cl7::strings::Parser.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines