Package net.sf.jasperreports.engine.fill
Class FillFunctionContext
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.FillFunctionContext
-
- All Implemented Interfaces:
FunctionContext
public class FillFunctionContext extends Object implements FunctionContext
- Author:
- Teodor Danciu (teodord@users.sourceforge.net)
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND
-
Constructor Summary
Constructors Constructor Description FillFunctionContext(Map<String,JRFillParameter> parametersMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getParameterValue(String parameterName)
Returns the value of a parameter.Object
getParameterValue(String parameterName, boolean ignoreMissing)
Returns the value of a parameter.protected Map<String,Object>
getParameterValuesMap()
Returns the map of parameter values.
-
-
-
Field Detail
-
EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND
public static final String EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FillFunctionContext
public FillFunctionContext(Map<String,JRFillParameter> parametersMap)
-
-
Method Detail
-
getParameterValue
public Object getParameterValue(String parameterName)
Returns the value of a parameter.- Specified by:
getParameterValue
in interfaceFunctionContext
- Parameters:
parameterName
- the parameter name- Returns:
- the parameter value
-
getParameterValue
public Object getParameterValue(String parameterName, boolean ignoreMissing)
Returns the value of a parameter.- Specified by:
getParameterValue
in interfaceFunctionContext
- Parameters:
parameterName
- the parameter nameignoreMissing
- if set,null
will be returned for inexisting parameters- Returns:
- the parameter value
-
-