} else if (valueType == Angle.class) {
return AngleFormat.getInstance(locale);
} else if (valueType == Unit.class) {
return UnitFormat.getInstance(locale);
} else if (valueType == Range.class) {
return new RangeFormat(locale);
} else if (valueType == Class.class) {
return ClassFormat.INSTANCE;
} else {
final Class<?>[] interfaces = valueType.getInterfaces();
if (ArraysExt.contains(interfaces, IdentifiedObject.class)) {