if (result == null) {
// TODO sring based lookup
if (Integer.class.equals(toType)
|| Integer.TYPE.equals(toType)) {
result = new StringToIntegerValidator((NumberFormatConverter) converter);
} else if (Long.class.equals(toType)
|| Long.TYPE.equals(toType)) {
result = new StringToLongValidator((NumberFormatConverter) converter);
} else if (Float.class.equals(toType)
|| Float.TYPE.equals(toType)) {