net.sf.jasperreports.engine.design
Class JRSourceCompileTask

java.lang.Object
  extended by net.sf.jasperreports.engine.design.JRSourceCompileTask

public class JRSourceCompileTask
extends Object

Expression evaluator source code generation information.

Version:
$Id: JRSourceCompileTask.java 5180 2012-03-29 13:23:12Z teodord $
Author:
Lucian Chirita (lucianc@users.sourceforge.net)

Constructor Summary
  JRSourceCompileTask(JasperDesign jasperDesign, JRDesignCrosstab crosstab, JRExpressionCollector expressionCollector, String unitName)
          Creates source code generation information for a crosstab of a report.
  JRSourceCompileTask(JasperDesign jasperDesign, JRDesignDataset dataset, JRExpressionCollector expressionCollector, String unitName)
          Creates source code generation information for a dataset of a report.
protected JRSourceCompileTask(JasperDesign jasperDesign, String unitName, JRExpressionCollector expressionCollector, Map<String,? extends JRParameter> parametersMap, Map<String,JRField> fieldsMap, Map<String,JRVariable> variablesMap, JRVariable[] variables, boolean onlyDefaultEvaluation)
           
 
Method Summary
 JRExpression getExpression(int expressionId)
           
 Integer getExpressionId(JRExpression expression)
           
 List<JRExpression> getExpressions()
           
 Map<String,JRField> getFieldsMap()
           
 String[] getImports()
           
 JasperDesign getJasperDesign()
           
 Map<String,? extends JRParameter> getParametersMap()
           
 String getUnitName()
           
 JRVariable[] getVariables()
           
 Map<String,JRVariable> getVariablesMap()
           
 boolean isOnlyDefaultEvaluation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JRSourceCompileTask

protected JRSourceCompileTask(JasperDesign jasperDesign,
                              String unitName,
                              JRExpressionCollector expressionCollector,
                              Map<String,? extends JRParameter> parametersMap,
                              Map<String,JRField> fieldsMap,
                              Map<String,JRVariable> variablesMap,
                              JRVariable[] variables,
                              boolean onlyDefaultEvaluation)

JRSourceCompileTask

public JRSourceCompileTask(JasperDesign jasperDesign,
                           JRDesignDataset dataset,
                           JRExpressionCollector expressionCollector,
                           String unitName)
Creates source code generation information for a dataset of a report.

Parameters:
jasperDesign - the report
dataset - the dataset
expressionCollector - the expression collector used for the report
unitName - the unit name of the code to be generated

JRSourceCompileTask

public JRSourceCompileTask(JasperDesign jasperDesign,
                           JRDesignCrosstab crosstab,
                           JRExpressionCollector expressionCollector,
                           String unitName)
Creates source code generation information for a crosstab of a report.

Parameters:
jasperDesign - the report
crosstab - the crosstab
expressionCollector - the expression collector used for the report
unitName - the unit name of the code to be generated
Method Detail

getExpressions

public List<JRExpression> getExpressions()

getFieldsMap

public Map<String,JRField> getFieldsMap()

getJasperDesign

public JasperDesign getJasperDesign()

getImports

public String[] getImports()

isOnlyDefaultEvaluation

public boolean isOnlyDefaultEvaluation()

getParametersMap

public Map<String,? extends JRParameter> getParametersMap()

getUnitName

public String getUnitName()

getVariables

public JRVariable[] getVariables()

getVariablesMap

public Map<String,JRVariable> getVariablesMap()

getExpressionId

public Integer getExpressionId(JRExpression expression)

getExpression

public JRExpression getExpression(int expressionId)


Copyright © 2012. All Rights Reserved.