else if (formatter instanceof NumericFormatter) {
NumericFormatter nf = (NumericFormatter)formatter;
clone.setFormatterFactory(new DefaultFormatterFactory(new NumericFormatter(clone, nf.getOriginalFormat(), nf.getValueClass())));
}
else {
NavigationFilter filter = this.getNavigationFilter();
NavigationFilter newFilter = CloneHelper.deepClone(filter, visitedObjects);
clone.setNavigationFilter(newFilter);
AbstractFormatterFactory newFactory = CloneHelper.deepClone(this.getFormatterFactory(), visitedObjects);
clone.setFormatterFactory(newFactory);
}
// TF:12/02/2009:FTL-9:We need to clone the maxLength of the fixed length document too