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 asEPlaceholderEscaper.PLAIN_TEXT
andEPlaceholderEscaper.HTML_FORM_ONLY
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
EPlaceholderEscaper
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
escape(String replacedValue, EPlaceholderType type)
Escape the given value after the rule of the passed placeholder type.
-
-
-
Method Detail
-
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.
-
-