boolean defineChar2StringMapping(String outputString,char inputChar){
  CharKey character=new CharKey(inputChar);
  m_charToString.put(character,outputString);
  set(inputChar);
  boolean extraMapping=extraEntity(outputString,inputChar);
  return extraMapping;
}

boolean defineChar2StringMapping ( String outputString , char inputChar ) { CharKey character = new CharKey ( inputChar ) ; m_charToString . put ( character , outputString ) ; set ( inputChar ) ; boolean extraMapping = extraEntity ( outputString , inputChar ) ; return extraMapping ; }
call this method to register a char to string mapping , for example to map ' < ' to " & lt ; " .
