Class RepFunction
- java.lang.Object
-
- de.xima.fc.placeholder.replacer.form.function.RepFunction
-
- All Implemented Interfaces:
IFormFunction
public final class RepFunction extends Object implements IFormFunction
Function to replace form values with other text- Since:
- 7.4.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
Fields Modifier and Type Field Description static RepFunction
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
replace(IFormReplacerParams parameters, String fieldName, FunctionArgument args)
Evaluates a form function.
-
-
-
Field Detail
-
INSTANCE
public static RepFunction INSTANCE
-
-
Method Detail
-
replace
public String replace(IFormReplacerParams parameters, String fieldName, FunctionArgument args)
Description copied from interface:IFormFunction
Evaluates a form function.- Specified by:
replace
in interfaceIFormFunction
- Parameters:
parameters
- Replacer params from the placeholder replacer.fieldName
- Name of the field.args
- Arguments of the function.- Returns:
- The evaluated value.
-
-