Detailed Description

Used to map entity names to their character. E.g. 'nbsp' to ' '.

Static Public Member Functions

static void Setup ()
 Sets up the map. More...
 
static string GetEntityByName (string name)
 Maps entity name, e.g. nbsp, to the character. More...
 
static string GetByValueOrName (string value)
 Includes e.g. &0xaa; as well as nbsp. More...
 

Static Private Attributes

static Dictionary< string, string > Map
 A map from entity name to character. More...
 

Member Function Documentation

static string Dom.CharacterEntities.GetByValueOrName ( string  value)
inlinestatic

Includes e.g. &0xaa; as well as nbsp.

static string Dom.CharacterEntities.GetEntityByName ( string  name)
inlinestatic

Maps entity name, e.g. nbsp, to the character.

static void Dom.CharacterEntities.Setup ( )
inlinestatic

Sets up the map.

Member Data Documentation

Dictionary<string,string> Dom.CharacterEntities.Map
staticprivate

A map from entity name to character.