return (String) registerMap.get(type);
EditorKitMapping m = (EditorKitMapping) registerMap.get(type); String kitName = m != null ? m.className : null; return kitName;
  public static String getEditorKitClassNameForContentType(String type)  {    return (String) registerMap.get(type);  }