if ("preconfigured".equals(type))
{
type += ":" + element.getAttribute("ref");
}
ConverterConfig converterConfig = new ConverterConfig();
converterConfig.setType(type);
converterConfig.setJavascriptClassName(element.getAttribute("javascript"));
String forceAsString = element.getAttribute("force");
if (forceAsString != null)
{
boolean force = Boolean.parseBoolean(forceAsString);
converterConfig.setForce(force);
}
parseConverterSettings(converterConfig, element);
lookupConverters(registry).put(element.getAttribute("class"), converterConfig);