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 replacerimplementation 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 StringparseForParametrizedPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale)Deprecated.Stringreplace(String placeholder, String placeholderContent, ISystemReplacerParams parameters)protected StringreplaceUserData(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:
 replacein 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-Stringplaceholder that may be parameterizedformRecord-Vorgangto replace forlocale-Localethat may be needed for Placeholder replacement- Returns:
 - replaced 
Stringif the placeholder content is indeed a parameterized placeholder. Returns the original placeholder otherwise. 
 
 - 
 
 -