UIZE JavaScript Framework

MODULES Uize.Util.Html.Entities

1. Introduction

The Uize.Util.Html.Entities package defines lookup objects that map HTML entity names to character codes, and vice versa.

DEVELOPERS: Chris van Rensburg

1.1. Examples

The following example pages are good showcases for the Uize.Util.Html.Entities module...

HTML Entities Table - See all the HTML entities in a sortable table.

SEARCH FOR EXAMPLES

Use the link below to search for example pages on the UIZE Web site that reference the Uize.Util.Html.Entities module...

SEARCH

1.2. Implementation Info

The Uize.Util.Html.Entities module defines the Uize.Util.Html.Entities package under the Uize.Util.Html namespace.

1.2.1. Features Introduced in This Module

1.2.2. Features Overridden in This Module

No features have been overridden in this module.

1.2.3. Features Inherited From Other Modules

This module has no inherited features.

1.2.4. Modules Directly Under This Namespace

There are no modules directly under this namespace.

1.2.5. Unit Tests

The Uize.Util.Html.Entities module is unit tested by the Uize.Test.Uize.Util.Html.Entities test module.

2. Static Properties

2.1. Uize.Util.Html.Entities.charCodeToEntityNameLookup

A lookup object, that provides a mapping between HTML entity character codes and the entities' corresponding names.

EXAMPLE

Uize.Util.Html.Entities.charCodeToEntityNameLookup [169];   // returns 'copy'
Uize.Util.Html.Entities.charCodeToEntityNameLookup [9824];  // returns 'spades'

NOTES

compare to the companion Uize.Util.Html.Entities.entityNameToCharCodeLookup static property

IMPLEMENTATION INFO

this feature was introduced in this module

2.2. Uize.Util.Html.Entities.entityNameToCharCodeLookup

A lookup object, that provides a mapping between HTML entity names and the entities' corresponding character codes.

EXAMPLE

Uize.Util.Html.Entities.entityNameToCharCodeLookup.copy;    // returns 169
Uize.Util.Html.Entities.entityNameToCharCodeLookup.spades;  // returns 9824

NOTES

compare to the companion Uize.Util.Html.Entities.charCodeToEntityNameLookup static property

IMPLEMENTATION INFO

this feature was introduced in this module

2.3. Uize.Util.Html.Entities.moduleName

IMPLEMENTATION INFO

this feature was introduced in this module

2.4. Uize.Util.Html.Entities.pathToResources

IMPLEMENTATION INFO

this feature was introduced in this module