woden_xml_char.h File Reference

Axis2 Xml Char Interface This class has been turned into C from Axis into Woden to support the NCName class. More...

#include <axis2_allocator.h>
#include <axis2_env.h>
#include <axis2_error.h>
#include <axis2_string.h>
#include <axis2_utils.h>
#include <axis2_hash.h>
#include <axis2_uri.h>
#include <woden.h>

Go to the source code of this file.

Functions

axis2_bool_t woden_xml_char_is_supplemental (int c)
int woden_xml_char_supplemental (char h, char l)
axis2_char_t woden_xml_char_high_surrogate (int c)
axis2_char_t woden_xml_char_low_surrogate (int c)
axis2_bool_t woden_xml_char_is_high_surrogate (int c)
axis2_bool_t woden_xml_char_is_low_surrogate (int c)
axis2_bool_t woden_xml_char_is_valid (int c)
axis2_bool_t woden_xml_char_is_invalid (int c)
axis2_bool_t woden_xml_char_is_content (int c)
axis2_bool_t woden_xml_char_is_markup (int c)
axis2_bool_t woden_xml_char_is_space (int c)
axis2_bool_t woden_xml_char_is_xml11_space (int c)
axis2_bool_t woden_xml_char_is_name_start (int c)
axis2_bool_t woden_xml_char_is_name (int c)
axis2_bool_t woden_xml_char_is_nc_name_start (int c)
axis2_bool_t woden_xml_char_is_nc_name (int c)
axis2_bool_t woden_xml_char_is_pubid (int c)
axis2_bool_t woden_xml_char_is_valid_name (axis2_char_t *name)
axis2_bool_t woden_xml_char_is_valid_nc_name (axis2_char_t *nc_name)
axis2_bool_t woden_xml_char_is_valid_nmtoken (axis2_char_t *nmtoken)


Detailed Description

Axis2 Xml Char Interface This class has been turned into C from Axis into Woden to support the NCName class.

This class defines the basic XML character properties. The data in this class can be used to verify that a character is a valid XML character or if the character is a space, name start, or name character.

A series of convenience methods are supplied to ease the burden of the developer. Because inlining the checks can improve per character performance, the tables of character properties are public. Using the character as an index into the CHARS array and applying the appropriate mask flag (e.g. MASK_VALID), yields the same results as calling the convenience methods. There is one exception: check the comments for the isValid method for details.


Generated on Thu Oct 26 21:00:20 2006 for Axis2/C by  doxygen 1.4.7