Interface IPlaceholderEscaper

All Superinterfaces:
Serializable
All Known Implementing Classes:
EPlaceholderEscaper

public interface IPlaceholderEscaper extends Serializable
Interface for escaping the replaced value of placeholders, before they are inserted into the document where they are embedded.

Use EPlaceholderEscaper for a list of commonly used predefined escapers, such as EPlaceholderEscaper.PLAIN_TEXT and EPlaceholderEscaper.HTML_FORM_ONLY.

Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    escape(String replacedValue, EPlaceholderType type)
    Escape the given value after the rule of the passed placeholder type.
  • Method Details

    • escape

      String escape(String replacedValue, EPlaceholderType type)
      Escape the given value after the rule of the passed placeholder type.
      Parameters:
      replacedValue - The replace (i.e. evaluated) value of the placeholder.
      type - The type of the placeholder that was replaced.
      Returns:
      The escaped value that should be inserted into the main text.