Package de.xima.fc.prompt.service
Interface IPromptExecutionReplacerEscaper
-
public interface IPromptExecutionReplacerEscaperEscaper for replaced values, used during prompt execution.- Since:
- 8.5.0
- See Also:
IPromptExecutionReplacerSettings.escaper()
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default StringescapeContext(String input)Escapes the value of a resolved context placeholder.default StringescapeForm(String input)Escapes the value of a resolved form placeholder.default StringescapeI18N(String input)Escapes the value of a resolved i18n placeholder.default StringescapeSession(String input)Escapes the value of a resolved session placeholder.default StringescapeSystem(String input)Escapes the value of a resolved system placeholder.default StringescapeTemplate(String input)Escapes the value of a resolved template placeholder.
-
-
-
Method Detail
-
escapeContext
default String escapeContext(String input)
Escapes the value of a resolved context placeholder. The default implementation does not perform any escaping.- Parameters:
input- The input string to escape.- Returns:
- The escaped string.
-
escapeForm
default String escapeForm(String input)
Escapes the value of a resolved form placeholder. The default implementation does not perform any escaping.- Parameters:
input- The input string to escape.- Returns:
- The escaped string.
-
escapeI18N
default String escapeI18N(String input)
Escapes the value of a resolved i18n placeholder. The default implementation does not perform any escaping.- Parameters:
input- The input string to escape.- Returns:
- The escaped string.
-
escapeSession
default String escapeSession(String input)
Escapes the value of a resolved session placeholder. The default implementation does not perform any escaping.- Parameters:
input- The input string to escape.- Returns:
- The escaped string.
-
escapeSystem
default String escapeSystem(String input)
Escapes the value of a resolved system placeholder. The default implementation does not perform any escaping.- Parameters:
input- The input string to escape.- Returns:
- The escaped string.
-
-