public void addCharEntitiesRange(String[] symbols,int startcode){
  if (userDefinedCharEntities == null) {
    userDefinedCharEntities=new Hashtable();
  }
  int slen=symbols.length;
  for (int i=0; i < slen; i++) {
    if (symbols[i] != null) {
      userDefinedCharEntities.put(trimCharEntity(symbols[i]),new Integer(startcode + i));
    }
  }
}

public void addCharEntitiesRange ( String [ ] symbols , int startcode ) { if ( userDefinedCharEntities == null ) { userDefinedCharEntities = new Hashtable ( ) ; } int slen = symbols . length ; for ( int i = 0 ; i < slen ; i ++ ) { if ( symbols [ i ] != null ) { userDefinedCharEntities . put ( trimCharEntity ( symbols [ i ] ) , new Integer ( startcode + i ) ) ; } } }
adds the given symbols array to the user defined char entities table with the startcode provided as the code of the first string , startcode + 1 for the second etc . some strings in the symbols array may be null thus skipping code numbers .
