Package net.sf.jasperreports.compilers
Class ReportSourceCompilation<P extends JRParameter>
- java.lang.Object
-
- net.sf.jasperreports.compilers.ReportSourceCompilation<P>
-
public class ReportSourceCompilation<P extends JRParameter> extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPERTY_LEGACY_SOURCE_INCLUDED_FIELDS
static String
PROPERTY_LEGACY_SOURCE_INCLUDED_PARAMETERS
static String
PROPERTY_LEGACY_SOURCE_INCLUDED_VARIABLES
static String
SOURCE_INCLUDED_ALL
static String
SOURCE_INCLUDED_SEPARATOR
-
Constructor Summary
Constructors Constructor Description ReportSourceCompilation(JasperReportsContext jasperReportsContext, JasperDesign report, ReportExpressionsCompilation expressionsCompilation, Map<String,P> parameters, Map<String,JRField> fields, Map<String,JRVariable> variables, JRVariable[] variablesArray)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static void
collectExpressionsIncluded(Set<String> collected, byte expressionChunkType, List<JRExpression> expressions)
protected static Set<String>
collectIncluded(Map<String,?> originalMap, String includeList, byte expressionChunkType, List<JRExpression> expressions)
protected static void
collectList(Map<String,?> originalMap, String includeList, Set<String> collected)
protected static <T> Map<String,T>
filter(Map<String,T> original, Set<String> included)
protected static JRVariable[]
filterVariables(JRVariable[] original, Set<String> included)
List<JRExpression>
getExpressions()
Map<String,JRField>
getFields()
Map<String,P>
getParameters()
Map<String,JRVariable>
getVariables()
JRVariable[]
getVariablesArray()
boolean
hasSource()
-
-
-
Field Detail
-
PROPERTY_LEGACY_SOURCE_INCLUDED_PARAMETERS
public static final String PROPERTY_LEGACY_SOURCE_INCLUDED_PARAMETERS
- See Also:
- Constant Field Values
-
PROPERTY_LEGACY_SOURCE_INCLUDED_FIELDS
public static final String PROPERTY_LEGACY_SOURCE_INCLUDED_FIELDS
- See Also:
- Constant Field Values
-
PROPERTY_LEGACY_SOURCE_INCLUDED_VARIABLES
public static final String PROPERTY_LEGACY_SOURCE_INCLUDED_VARIABLES
- See Also:
- Constant Field Values
-
SOURCE_INCLUDED_ALL
public static final String SOURCE_INCLUDED_ALL
- See Also:
- Constant Field Values
-
SOURCE_INCLUDED_SEPARATOR
public static final String SOURCE_INCLUDED_SEPARATOR
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ReportSourceCompilation
public ReportSourceCompilation(JasperReportsContext jasperReportsContext, JasperDesign report, ReportExpressionsCompilation expressionsCompilation, Map<String,P> parameters, Map<String,JRField> fields, Map<String,JRVariable> variables, JRVariable[] variablesArray)
-
-
Method Detail
-
hasSource
public boolean hasSource()
-
getExpressions
public List<JRExpression> getExpressions()
-
getVariables
public Map<String,JRVariable> getVariables()
-
getVariablesArray
public JRVariable[] getVariablesArray()
-
collectIncluded
protected static Set<String> collectIncluded(Map<String,?> originalMap, String includeList, byte expressionChunkType, List<JRExpression> expressions)
-
collectExpressionsIncluded
protected static void collectExpressionsIncluded(Set<String> collected, byte expressionChunkType, List<JRExpression> expressions)
-
collectList
protected static void collectList(Map<String,?> originalMap, String includeList, Set<String> collected)
-
filterVariables
protected static JRVariable[] filterVariables(JRVariable[] original, Set<String> included)
-
-