public static String fromNamedReference ( CharSequence s ) { if ( s == null ) { return null ; } final Integer code = SPECIALS . get ( s . toString ( ) ) ; if ( code != null ) { return "&#" + code + ";" ; } return null ; }
Converts a named XML entity into its HTML encoded Unicode code point .