Package com.jalios.jcms.policy
Interface WikiPolicyFilter
- All Superinterfaces:
Comparable,PluginComponent,PolicyFilter
- All Known Implementing Classes:
BasicWikiPolicyFilter
This class provides hooks for wiki rendering.
- Since:
- jcms-5.7.0
-
Method Summary
Modifier and TypeMethodDescriptionafterRendering(String text, Locale userLocale, WikiRenderingHints hints) This method is called after wiki renderingbeforeRendering(String text, Locale userLocale, WikiRenderingHints hints) This method is called before wiki renderingMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
-
Method Details
-
beforeRendering
This method is called before wiki rendering- Parameters:
text- the text to be rendered.userLocale- an optionalLocaleof the user for which the text will be generatedhints- the rendering options to use.- Returns:
- the text.
- Since:
- jcms-5.7.0
-
afterRendering
This method is called after wiki rendering- Parameters:
text- the text after the rendering.userLocale- an optionalLocaleof the user for which the text will be generatedhints- the rendering options to use.- Returns:
- the text.
- Since:
- jcms-5.7.0
-