public void addCharEntity(String symbol,int code){
  if (userDefinedCharEntities == null) {
    userDefinedCharEntities=new Hashtable();
  }
  userDefinedCharEntities.put(trimCharEntity(symbol),new Integer(code));
}

public void addCharEntity ( String symbol , int code ) { if ( userDefinedCharEntities == null ) { userDefinedCharEntities = new Hashtable ( ) ; } userDefinedCharEntities . put ( trimCharEntity ( symbol ) , new Integer ( code ) ) ; }
adds the given symbol and code to the user defined char entities table http : / / en . wikipedia . org / wiki / list_of_xml_and_html_character_entity_references
