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 StringEXCEPTION_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 ObjectgetParameterValue(String parameterName)Returns the value of a parameter.ObjectgetParameterValue(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:
getParameterValuein 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:
getParameterValuein interfaceFunctionContext- Parameters:
parameterName- the parameter nameignoreMissing- if set,nullwill be returned for inexisting parameters- Returns:
- the parameter value
-
-