contentBase = null;
documentMetaData = new MemoryDocumentMetaData();
reportEnvironment = new DefaultReportEnvironment(configuration);
final ReportEnvironmentDataRow envDataRow = new ReportEnvironmentDataRow(reportEnvironment);
parameterData = new CompoundDataRow(envDataRow, new ParameterDataRow());
}
else
{
this.resourceManager = report.getResourceManager();
this.contentBase = report.getContentBase();
final Object dataCacheEnabledRaw =
report.getAttribute(AttributeNames.Core.NAMESPACE, AttributeNames.Core.DATA_CACHE);
final boolean dataCacheEnabled = Boolean.FALSE.equals(dataCacheEnabledRaw) == false;
this.dataFactory = new CachingDataFactory(report.getDataFactory().derive(), dataCacheEnabled);
this.resourceBundleFactory = MasterReport.computeAndInitResourceBundleFactory
(report.getResourceBundleFactory(), report.getReportEnvironment());
this.reportEnvironment = report.getReportEnvironment();
this.configuration = report.getConfiguration();
final ReportEnvironmentDataRow envDataRow = new ReportEnvironmentDataRow(reportEnvironment);
this.parameterData = new CompoundDataRow(envDataRow, new ParameterDataRow(report.getParameterValues()));
dataFactory.initialize(configuration, report.getResourceManager(), report.getContentBase(), resourceBundleFactory);
if (report.getBundle() != null)
{