Interface IPromptExecutionReplacerEscaper


public interface IPromptExecutionReplacerEscaper
Escaper for replaced values, used during prompt execution.
Since:
8.5.0
See Also:
  • Method Details

    • 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.
    • escapeTemplate

      default String escapeTemplate(String input)
      Escapes the value of a resolved template placeholder. The default implementation does not perform any escaping.
      Parameters:
      input - The input string to escape.
      Returns:
      The escaped string.