net.sf.jasperreports.engine.design
Class JRAbstractJavaCompiler
java.lang.Object
net.sf.jasperreports.engine.design.JRAbstractCompiler
net.sf.jasperreports.engine.design.JRAbstractJavaCompiler
- All Implemented Interfaces:
- JRCompiler
- Direct Known Subclasses:
- JRAbstractClassCompiler, JRGroovyCompiler, JRJdtCompiler
public abstract class JRAbstractJavaCompiler
- extends JRAbstractCompiler
- Version:
- $Id: JRAbstractJavaCompiler.java 1289 2006-06-13 11:54:52Z teodord $
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
Method Summary |
protected static java.lang.Object |
classCacheKey()
|
protected static java.lang.Class |
getClassFromCache(java.lang.String className)
|
protected JREvaluator |
loadEvaluator(java.io.Serializable compileData,
java.lang.String className)
Creates an expression evaluator instance from data saved when the report was compiled. |
protected static void |
putClassInCache(java.lang.String className,
java.lang.Class loadedClass)
|
Methods inherited from class net.sf.jasperreports.engine.design.JRAbstractCompiler |
checkLanguage, compileReport, compileUnits, generateSourceCode, getCompilerClass, getSourceFileName, getUnitName, getUnitName, getUnitName, getUnitName, getUnitName, loadEvaluator, loadEvaluator, loadEvaluator |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JRAbstractJavaCompiler
protected JRAbstractJavaCompiler(boolean needsSourceFiles)
loadEvaluator
protected JREvaluator loadEvaluator(java.io.Serializable compileData,
java.lang.String className)
throws JRException
- Description copied from class:
JRAbstractCompiler
- Creates an expression evaluator instance from data saved when the report was compiled.
- Specified by:
loadEvaluator
in class JRAbstractCompiler
- Parameters:
compileData
- the data saved when the report was compiledclassName
- the evaluator unit name
- Returns:
- an expression evaluator instance
- Throws:
JRException
classCacheKey
protected static java.lang.Object classCacheKey()
getClassFromCache
protected static java.lang.Class getClassFromCache(java.lang.String className)
putClassInCache
protected static void putClassInCache(java.lang.String className,
java.lang.Class loadedClass)
© 2001-2006 JasperSoft Corporation www.jaspersoft.com