com.jalios.jcms.policy
Interface WikiPolicyFilter

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

public interface WikiPolicyFilter
extends PolicyFilter

This class provides hooks for wiki rendering.

Since:
jcms-5.7.0
Version:
$Revision: 18915 $
Author:
Olivier Dedieu

Field Summary
static String REVISION
           
 
Method Summary
 String afterRendering(String text, Locale userLocale, WikiRenderingHints hints)
          This method is called after wiki rendering
 String beforeRendering(String text, Locale userLocale, WikiRenderingHints hints)
          This method is called before wiki rendering
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.jalios.jcms.plugin.PluginComponent
init
 

Field Detail

REVISION

static final String REVISION
See Also:
Constant Field Values
Method Detail

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 optionnal 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 optionnal 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


Copyright © 2001-2007 Jalios SA. All Rights Reserved.