Logo Search packages:      
Sourcecode: jericho-html version File versions  Download package

static String au::id::jericho::lib::html::CharacterEntityReference::getName ( final int  codePoint  )  [inline, static]

Returns the character entity reference name of the specified unicode code point.

Since all character entity references represent unicode BMP code points, the functionality of this method is identical to that of getName(char ch).

Example:
CharacterEntityReference.getName(62) returns "<code>gt</code>"
Returns:
the character entity reference name of the specified unicode code point, or null if none exists.

Definition at line 889 of file CharacterEntityReference.java.

References au::id::jericho::lib::html::IntStringHashMap::get().

                                                        {
            return CODE_POINT_TO_NAME_MAP.get(codePoint);
      }


Generated by  Doxygen 1.6.0   Back to index