Package de.xima.fc.placeholder.replacer
Class DefaultSystemValueReplacer
java.lang.Object
de.xima.fc.placeholder.replacer.DefaultSystemValueReplacer
- All Implemented Interfaces:
 ISystemValueReplacer
Default 
system value replacer implementation provided by formcycle that is always
 available. Replaces all built-in system placeholders.- Author:
 - XIMA MEDIA GmbH
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected StringparseForParametrizedPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale) Deprecated.replace(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, waitMethods inherited from interface de.xima.fc.interfaces.placeholder.ISystemValueReplacer
replace, replace, replace 
- 
Constructor Details
- 
DefaultSystemValueReplacer
public DefaultSystemValueReplacer() 
 - 
 - 
Method Details
- 
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. 
 - 
replaceUserData
 
 - 
 
PlaceholderHelper.parseForParametrizedSystemPlaceholder(String, Vorgang, Locale, Clock)instead.