com.lowagie.text.xml.simpleparser
public class EntitiesToSymbol extends Object
Field Summary | |
---|---|
static HashMap | map
This is a map that contains all possible id values of the entity tag
that can be translated to a character in font Symbol. |
Method Summary | |
---|---|
static Chunk | get(String e, Font font)
Gets a chunk with a symbol character. |
static char | getCorrespondingSymbol(String name)
Looks for the corresponding symbol in the font Symbol.
|
static boolean | isTag(String tag)
Checks if a given tag corresponds with this object.
|
Parameters: e a symbol value (see Entities class: alfa is greek alfa,...) font the font if the symbol isn't found (otherwise Font.SYMBOL)
Returns: a Chunk
Parameters: name the name of the entity
Returns: the corresponding character in font Symbol
Parameters: tag the given tag
Returns: true if the tag corresponds