Class EntitiesToSymbol
java.lang.Object
com.lowagie.text.xml.simpleparser.EntitiesToSymbol
This class contains entities that can be used in an entity tag.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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.
-
-
Constructor Details
-
EntitiesToSymbol
public EntitiesToSymbol()
-
-
Method Details
-
getMap
-
get
Gets a chunk with a symbol character.- 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
-
getCorrespondingSymbol
Looks for the corresponding symbol in the font Symbol.- Parameters:
name
- the name of the entity- Returns:
- the corresponding character in font Symbol
-