Class CreoleFilter

java.lang.Object
org.apache.wiki.api.filters.BasePageFilter
org.apache.wiki.filters.CreoleFilter
All Implemented Interfaces:
org.apache.wiki.api.filters.PageFilter

public class CreoleFilter extends org.apache.wiki.api.filters.BasePageFilter

Provides the Implementation for mixed mode creole: If you activate this filter, it will translate all markup that was saved as creole markup to JSPWiki markup. Therefore the files will be saved with mixed markup.

WARNING: There's no turning back after installing this filter. Since your wiki pages are saved in Creole markup you can not deactivate it afterwards.

WARNING: This feature is completely experimental, and is known to be broken. Use at your own risk.

WARNING: The CreoleFilter feature is deprecated. JSPWiki is likely to implement a non-mixed mode Creole at some point, since turning on Creole will make new pages obsolete.

See Also:
  • Constructor Details

  • Method Details

    • initialize

      public void initialize(org.apache.wiki.api.core.Engine engine, Properties props) throws org.apache.wiki.api.exceptions.FilterException
      Specified by:
      initialize in interface org.apache.wiki.api.filters.PageFilter
      Overrides:
      initialize in class org.apache.wiki.api.filters.BasePageFilter
      Throws:
      org.apache.wiki.api.exceptions.FilterException
    • preSave

      public String preSave(org.apache.wiki.api.core.Context wikiContext, String content)
    • preTranslate

      public String preTranslate(org.apache.wiki.api.core.Context wikiContext, String content)