Interface WikiPolicyFilter

All Superinterfaces:
Comparable, PluginComponent, PolicyFilter
All Known Implementing Classes:
BasicWikiPolicyFilter

public interface WikiPolicyFilter extends PolicyFilter
This class provides hooks for wiki rendering.
Since:
jcms-5.7.0
  • Method Details

    • beforeRendering

      String beforeRendering(String text, Locale userLocale, WikiRenderingHints hints)
      This method is called before wiki rendering
      Parameters:
      text - the text to be rendered.
      userLocale - an optional Locale of the user for which the text will be generated
      hints - the rendering options to use.
      Returns:
      the text.
      Since:
      jcms-5.7.0
    • afterRendering

      String afterRendering(String text, Locale userLocale, WikiRenderingHints hints)
      This method is called after wiki rendering
      Parameters:
      text - the text after the rendering.
      userLocale - an optional Locale of the user for which the text will be generated
      hints - the rendering options to use.
      Returns:
      the text.
      Since:
      jcms-5.7.0