Class EntitiesToUnicode

java.lang.Object
com.aowagie.text.xml.simpleparser.EntitiesToUnicode

class EntitiesToUnicode extends Object
This class contains entities that can be used in an entity tag.
  • Field Details

    • map

      private static final HashMap map
      This is a map that contains the names of entities and their unicode value.
  • Constructor Details

    • EntitiesToUnicode

      EntitiesToUnicode()
  • Method Details

    • decodeEntity

      public static char decodeEntity(String name)
      Translates an entity to a unicode character.
      Parameters:
      name - the name of the entity
      Returns:
      the corresponding unicode character