com.ecyrd.jspwiki.filters
Class ProfanityFilter

java.lang.Object
  extended by com.ecyrd.jspwiki.filters.BasicPageFilter
      extended by com.ecyrd.jspwiki.filters.ProfanityFilter
All Implemented Interfaces:
PageFilter

public class ProfanityFilter
extends BasicPageFilter


Constructor Summary
ProfanityFilter()
           
 
Method Summary
 String preTranslate(WikiContext context, String content)
          This method is called whenever a page has been loaded from the provider, but not yet been sent through the TranslatorReader.
 
Methods inherited from class com.ecyrd.jspwiki.filters.BasicPageFilter
initialize, postSave, postTranslate, preSave
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfanityFilter

public ProfanityFilter()
Method Detail

preTranslate

public String preTranslate(WikiContext context,
                           String content)
Description copied from interface: PageFilter
This method is called whenever a page has been loaded from the provider, but not yet been sent through the TranslatorReader. Note that you cannot do HTML translation here, because TranslatorReader is likely to escape it.

Specified by:
preTranslate in interface PageFilter
Overrides:
preTranslate in class BasicPageFilter
Parameters:
context - The current wikicontext.
content - WikiMarkup.