Package net.sf.jasperreports.engine.fill
Class FillReturnValues
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.FillReturnValues
-
public class FillReturnValues extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
FillReturnValues.SourceContext
-
Constructor Summary
Constructors Modifier Constructor Description FillReturnValues(List<ReturnValue> values, JRFillObjectFactory factory, BaseReportFiller filler)
FillReturnValues(ExpressionReturnValue[] values, JRFillObjectFactory factory, BaseReportFiller filler)
protected
FillReturnValues(FillReturnValues values, JRFillCloneFactory factory)
FillReturnValues(JRSubreportReturnValue[] values, JRFillObjectFactory factory, BaseReportFiller filler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
checkReturnValues(FillReturnValues.SourceContext sourceContext)
Verifies the list of copied values against the subreport.protected void
copyValue(JRFillCommonReturnValue returnValue, FillReturnValues.SourceContext sourceContext)
void
copyValues(FillReturnValues.SourceContext sourceContext)
Copies the values from the source to the variables of the master report.void
saveReturnVariables()
void
setBand(JRFillBand band)
boolean
usesForReturnValue(String variableName)
-
-
-
Constructor Detail
-
FillReturnValues
public FillReturnValues(JRSubreportReturnValue[] values, JRFillObjectFactory factory, BaseReportFiller filler)
-
FillReturnValues
public FillReturnValues(List<ReturnValue> values, JRFillObjectFactory factory, BaseReportFiller filler)
-
FillReturnValues
public FillReturnValues(ExpressionReturnValue[] values, JRFillObjectFactory factory, BaseReportFiller filler)
-
FillReturnValues
protected FillReturnValues(FillReturnValues values, JRFillCloneFactory factory)
-
-
Method Detail
-
setBand
public void setBand(JRFillBand band)
-
saveReturnVariables
public void saveReturnVariables()
-
usesForReturnValue
public boolean usesForReturnValue(String variableName)
-
copyValues
public void copyValues(FillReturnValues.SourceContext sourceContext)
Copies the values from the source to the variables of the master report.
-
copyValue
protected void copyValue(JRFillCommonReturnValue returnValue, FillReturnValues.SourceContext sourceContext)
-
checkReturnValues
public void checkReturnValues(FillReturnValues.SourceContext sourceContext) throws JRException
Verifies the list of copied values against the subreport.- Throws:
JRException
-
-