private String applyFilters(Object o, Locale locale) {
if (filters == null) return o.toString();
Object val = o;
for (int i = 0; i < filters.size(); i++) {
Filter f = filters.get(i);
if (i == 0) {
val = f.doFilter(o, locale);
} else {
val = f.doFilter(val, locale);
}
}
return val.toString();
}