@Override protected JRCompilationSourceCode generateSourceCode( JRSourceCompileTask sourceTask) throws JRException { // TODO (12.04.2013, Donat, Open Software Solutions): Create a evaluator instance per call and serialize it JEvalExpressionEvaluator evaluator = new JEvalExpressionEvaluator(); evaluator.initializeWithDefaults(sourceTask); evaluator.parseExpressions(sourceTask); evaluators.put(sourceTask.getUnitName(), evaluator); return new JRDefaultCompilationSourceCode(sourceTask.getUnitName(),null); }
@Override protected JRCompilationSourceCode generateSourceCode(JRSourceCompileTask sourceTask) throws JRException { return new JRDefaultCompilationSourceCode(JRBshGenerator.generateScript(sourceTask), null); }
@Override protected JRCompilationSourceCode generateSourceCode(JRSourceCompileTask sourceTask) throws JRException { return new JRDefaultCompilationSourceCode(JRGroovyGenerator.generateClass(sourceTask), null); }
/** * @see net.sf.jasperreports.engine.design.JRAbstractCompiler#generateSourceCode(net.sf.jasperreports.engine.design.JRSourceCompileTask) */ @Override protected JRCompilationSourceCode generateSourceCode( JRSourceCompileTask sourceTask) throws JRException { return new JRDefaultCompilationSourceCode(JRScalaGenerator.generateClass(sourceTask), null); }