Table of Contents

Class EntitiesToUnicode

Namespace
iTextSharp.text.xml.simpleparser
Assembly
iTextSharp.LGPLv2.Core.dll

This class contains entities that can be used in an entity tag.

public static class EntitiesToUnicode
Inheritance
EntitiesToUnicode
Inherited Members

Fields

Map

This is a map that contains the names of entities and their unicode value.

public static readonly INullValueDictionary<string, char> Map

Field Value

INullValueDictionary<string, char>

Methods

DecodeEntity(string)

Translates an entity to a unicode character.

public static char DecodeEntity(string name)

Parameters

name string

the name of the entity

Returns

char

the corresponding unicode character

DecodeString(string)

Translates a String with entities to a String without entities, replacing the entity with the right (unicode) character.

public static string DecodeString(string s)

Parameters

s string

Returns

string