str = s[0];
} catch (Exception e) {
val = "";
}
if (dataReformatter != null && dataReformatter.containsKey(str)) {
IFormatter callback = dataReformatter.get(str);
if (callback instanceof IBeanFormatter) {
val = callback.reformat(data);
} else {
val = callback.reformat(val);
}
} else if (val instanceof Timestamp) {
val = new ADDateTimeFormatter().reformat(val);
} else if (val instanceof Date || val instanceof Calendar) {
val = new ADDateFormatter().reformat(val);