public JREvaluator loadEvaluator(JasperReport jasperReport, JRCrosstab crosstab)
     throws JRException {
   JRReportCompileData reportCompileData = (JRReportCompileData) jasperReport.getCompileData();
   String unitName = reportCompileData.getUnitName(jasperReport, crosstab);
   Serializable compileData = reportCompileData.getCrosstabCompileData(crosstab);
   return loadEvaluator(compileData, unitName);
 }
 public JREvaluator loadEvaluator(JasperReport jasperReport, JRDataset dataset)
     throws JRException {
   JRReportCompileData reportCompileData = (JRReportCompileData) jasperReport.getCompileData();
   String unitName = reportCompileData.getUnitName(jasperReport, dataset);
   Serializable compileData = reportCompileData.getDatasetCompileData(dataset);
   return loadEvaluator(compileData, unitName);
 }