public class InsertFilter extends ReplaceFilter
Filter implementation that works like a ReplaceFilter, only
that the actual replacement value is read from a template variable, which can
be set either using TemplateContext.set(String, Object) or using a
StoreFilter.| Constructor and Description |
|---|
InsertFilter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
format(TemplateContext templateContext,
Object data,
Map<String,Object> parameters)
Formats the given data object.
|
public Object format(TemplateContext templateContext, Object data, Map<String,Object> parameters)
format in interface Filterformat in class ReplaceFiltertemplateContext - The current template contextdata - The data to formatparameters - Parameters for the filterCopyright © 2026. All rights reserved.