com.lowagie.text
Class Entities
java.lang.Object
com.lowagie.text.Entities
public class Entities
extends java.lang.Object
This class contains entities that can be used in an entity tag.
static HashMap | map - This is a map that contains all possible id values of the entity tag.
|
static Chunk | get(String e, Font font) - Gets a chunk with a symbol character.
|
static int | getCorrespondingSymbol(String c) - Looks for the corresponding symbol in the font Symbol.
|
static boolean | isTag(String tag) - Checks if a given tag corresponds with this object.
|
map
public static final HashMap map
This is a map that contains all possible id values of the entity tag.
get
public static Chunk get(String e,
Font font)
Gets a chunk with a symbol character.
e
- a symbol value (see Entities class: alfa is greek alfa,...)font
- the font if the symbol isn't found (otherwise Font.SYMBIL)
getCorrespondingSymbol
public static int getCorrespondingSymbol(String c)
Looks for the corresponding symbol in the font Symbol.
c
- the original ASCII-char
- the corresponding symbol in font Symbol
isTag
public static boolean isTag(String tag)
Checks if a given tag corresponds with this object.
- true if the tag corresponds