Class WikiSerializer

java.lang.Object
org.nuxeo.ecm.platform.rendering.wiki.WikiSerializer

public class WikiSerializer extends Object
Author:
Bogdan Stefanescu
  • Field Details

    • parser

      protected final org.wikimodel.wem.common.CommonWikiParser parser
    • macros

      protected final Map<String,WikiMacro> macros
    • filters

      protected final List<WikiFilter> filters
  • Constructor Details

    • WikiSerializer

      public WikiSerializer()
  • Method Details

    • registerMacro

      public void registerMacro(WikiMacro macro)
    • addFilter

      public void addFilter(WikiFilter filter)
    • serialize

      public void serialize(Reader reader, Writer writer) throws IOException, org.wikimodel.wem.WikiParserException
      Throws:
      IOException
      org.wikimodel.wem.WikiParserException