Interface IContextReplacerParams.IContextValueReplacer
-
- Enclosing interface:
- IContextReplacerParams
public static interface IContextReplacerParams.IContextValueReplacerReplacer for context placeholders.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stringreplace(String context, String content)Replaces the content of a context placeholder, e.g.
-
-
-
Method Detail
-
replace
String replace(String context, String content)
Replaces the content of a context placeholder, e.g.[%params.user.name%].- Parameters:
context- The context name, the string before the first dot, e.g. "params".content- The content of the placeholder, the string after the first dot, e.g. "user.name".- Returns:
- The replaced content, or
nullif the content could not be replaced.
-
-