Interface IContextReplacerParams.IContextValueReplacer

Enclosing interface:
IContextReplacerParams

public static interface IContextReplacerParams.IContextValueReplacer
Replacer for context placeholders.
Author:
XIMA MEDIA GmbH
  • Method Summary

    Modifier and Type
    Method
    Description
    replace(String context, String content)
    Replaces the content of a context placeholder, e.g.
  • Method Details

    • 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 null if the content could not be replaced.