public class FillFunctionContext extends Object implements FunctionContext
| Modifier and Type | Field and Description |
|---|---|
static String |
EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND |
| Constructor and Description |
|---|
FillFunctionContext(Map<String,JRFillParameter> parametersMap) |
| Modifier and Type | Method and 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.
|
public static final String EXCEPTION_MESSAGE_KEY_PARAMETER_NOT_FOUND
public FillFunctionContext(Map<String,JRFillParameter> parametersMap)
public Object getParameterValue(String parameterName)
getParameterValue in interface FunctionContextparameterName - the parameter namepublic Object getParameterValue(String parameterName, boolean ignoreMissing)
getParameterValue in interface FunctionContextparameterName - the parameter nameignoreMissing - if set, null will be returned for inexisting parametersCopyright © 2017. All rights reserved.