Class EntitiesToUnicode
java.lang.Object
com.itextpdf.text.xml.simpleparser.EntitiesToUnicode
This class contains entities that can be used in an entity tag.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic chardecodeEntity(String name) Translates an entity to a unicode character.static StringTranslates a String with entities (invalid input: '&'...;) to a String without entities, replacing the entity with the right (unicode) character.
-
Field Details
-
MAP
-
-
Constructor Details
-
EntitiesToUnicode
public EntitiesToUnicode()
-
-
Method Details
-
decodeEntity
Translates an entity to a unicode character.- Parameters:
name- the name of the entity- Returns:
- the corresponding unicode character
-
decodeString
-