Package com.jalios.jcms.policy
Class BasicWikiPolicyFilter
java.lang.Object
com.jalios.jcms.policy.AbstractPolicyFilter
com.jalios.jcms.policy.BasicWikiPolicyFilter
- All Implemented Interfaces:
PluginComponent,PolicyFilter,WikiPolicyFilter,Comparable
public class BasicWikiPolicyFilter
extends AbstractPolicyFilter
implements WikiPolicyFilter, PluginComponent
This class provides hooks for wiki rendering.
- Since:
- jcms-5.7.0
-
Field Summary
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order -
Constructor Summary
Constructors -
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 renderingbooleanInitialize the component with the given plugin configurationMethods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrderMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
BasicWikiPolicyFilter
public BasicWikiPolicyFilter()
-
-
Method Details
-
init
Description copied from interface:PluginComponentInitialize the component with the given plugin configuration- Specified by:
initin interfacePluginComponent- Parameters:
plugin- the calling plugin- Returns:
- true if the component has been correctly initialized.
- Since:
- jcms-5.7.1
- See Also:
-
beforeRendering
Description copied from interface:WikiPolicyFilterThis method is called before wiki rendering- Specified by:
beforeRenderingin interfaceWikiPolicyFilter- 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.
- See Also:
-
afterRendering
Description copied from interface:WikiPolicyFilterThis method is called after wiki rendering- Specified by:
afterRenderingin interfaceWikiPolicyFilter- 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.
- See Also:
-