Package de.xima.fc.placeholder.replacer
Class DefaultSystemValueReplacer
- java.lang.Object
-
- de.xima.fc.placeholder.replacer.DefaultSystemValueReplacer
-
- All Implemented Interfaces:
ISystemValueReplacer
public class DefaultSystemValueReplacer extends Object implements ISystemValueReplacer
Defaultsystem value replacer
implementation provided by formcycle that is always available. Replaces all built-in system placeholders.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description DefaultSystemValueReplacer()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected String
parseForParametrizedPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale)
Deprecated.String
replace(String placeholder, String placeholderContent, ISystemReplacerParams parameters)
protected String
replaceUserData(String pathContent, com.alibaba.fastjson.JSONObject userObject)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.xima.fc.interfaces.placeholder.ISystemValueReplacer
replace, replace, replace
-
-
-
-
Method Detail
-
replace
public String replace(String placeholder, String placeholderContent, ISystemReplacerParams parameters)
- Specified by:
replace
in interfaceISystemValueReplacer
-
parseForParametrizedPlaceholder
@Deprecated protected String parseForParametrizedPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale)
Deprecated.UsePlaceholderHelper.parseForParametrizedSystemPlaceholder(String, Vorgang, Locale, Clock)
instead. Parses for and replaces if necessary placeholders that are parameterized ()- Parameters:
placeholderContent
-String
placeholder that may be parameterizedformRecord
-Vorgang
to replace forlocale
-Locale
that may be needed for Placeholder replacement- Returns:
- replaced
String
if the placeholder content is indeed a parameterized placeholder. Returns the original placeholder otherwise.
-
-