public static final String DEFAULT_XML_ENCODING = "UTF-8";
private static final String DJ_RESOURCE_BUNDLE ="dj-messages";
private final static void registerEntities(DynamicJasperDesign jd, DynamicReport dr) {
new ColumnRegistrationManager(jd,dr).registerEntities(dr.getColumns());
new ColumnsGroupRegistrationManager(jd,dr).registerEntities(dr.getColumnsGroups());
registerOtherFields(jd,dr.getFields());
Locale locale = dr.getReportLocale() == null ? Locale.getDefault() : dr.getReportLocale();
if (log.isDebugEnabled()){
log.debug("Requested Locale = " + dr.getReportLocale() + ", Locale to use: "+ locale);
}