Class JavaScriptClassCompiler

All Implemented Interfaces:
JRCompiler

public class JavaScriptClassCompiler extends JavaScriptCompilerBase
Compiler for reports that use JavaScript as expression language. This implementation produces Java bytecode for the expressions.
Author:
Lucian Chirita (lucianc@users.sourceforge.net)
See Also:
  • Field Details

    • PROPERTY_OPTIMIZATION_LEVEL

      public static final String PROPERTY_OPTIMIZATION_LEVEL
      Property that determines the optimization level to use when compiling expressions into Java bytecode. See
      See Also:
    • PROPERTY_EXPRESSIONS_PER_SCRIPT

      public static final String PROPERTY_EXPRESSIONS_PER_SCRIPT
      Property that determines the maximum number of report expressions that will be included in a single generated Java class.
      See Also:
    • PROPERTY_SCRIPT_MAX_SIZE

      public static final String PROPERTY_SCRIPT_MAX_SIZE
      Property that determines the maximum size of a script that will be compiled into a single Java class.
      See Also:
    • EXCEPTION_MESSAGE_KEY_UNEXPECTED_CLASS_NAME

      public static final String EXCEPTION_MESSAGE_KEY_UNEXPECTED_CLASS_NAME
      See Also:
    • EXCEPTION_MESSAGE_KEY_UNEXPECTED_CLASSES_LENGTH

      public static final String EXCEPTION_MESSAGE_KEY_UNEXPECTED_CLASSES_LENGTH
      See Also:
  • Constructor Details

    • JavaScriptClassCompiler

      public JavaScriptClassCompiler(JasperReportsContext jasperReportsContext)
      Creates a JavaScript compiler.
  • Method Details