private static final Map<Class, Converter> CNV =
new HashMap<Class, Converter>(10);
public Object convertFrom(Object in) {
if (!CNV.containsKey(in.getClass())) throw new ConversionException("cannot convert type: "
+ in.getClass().getName() + " to: " + Integer.class.getName());
return CNV.get(in.getClass()).convert(in);
}