public class DefaultSystemValueReplacer extends Object implements ISystemValueReplacer
Constructor and Description |
---|
DefaultSystemValueReplacer() |
Modifier and Type | Method and Description |
---|---|
protected String |
parseForParametrizedPlaceholder(String placeholderContent,
Vorgang formRecord,
Locale locale)
Deprecated.
Use
PlaceholderHelper.parseForParametrizedSystemPlaceholder(String, Vorgang, Locale) instead.
Parses for and replaces if necessary placeholders that are parameterized () |
String |
replace(String placeholder,
String placeholderContent,
ISystemReplacerParams parameters) |
protected String |
replaceUserData(String pathContent,
com.alibaba.fastjson.JSONObject userObject) |
String |
replaceWorkflow(String placeholder,
String placeholderContent,
IWorkflowProcessingContext wfpctx) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
replace, replace, replace
public String replace(String placeholder, String placeholderContent, ISystemReplacerParams parameters)
replace
in interface ISystemValueReplacer
protected String replaceUserData(String pathContent, com.alibaba.fastjson.JSONObject userObject)
public String replaceWorkflow(String placeholder, String placeholderContent, IWorkflowProcessingContext wfpctx)
@Deprecated protected String parseForParametrizedPlaceholder(String placeholderContent, Vorgang formRecord, Locale locale)
PlaceholderHelper.parseForParametrizedSystemPlaceholder(String, Vorgang, Locale)
instead.
Parses for and replaces if necessary placeholders that are parameterized ()placeholderContent
- String
placeholder that may be parameterizedformRecord
- Vorgang
to replace forlocale
- Locale
that may be needed for Placeholder replacementString
if the placeholder content is indeed a parameterized placeholder. Returns the
original placeholder otherwise.Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.