Class JSPWikiSyntaxDecorator

    • Method Detail

      • init

        public void init​(java.io.PrintWriter out,
                         java.util.Deque<java.lang.String> liStack,
                         java.util.Deque<java.lang.String> preStack,
                         WhitespaceTrimWriter outTrimmer,
                         XHtmlToWikiConfig config,
                         XHtmlElementToWikiTranslator chain)
        Prepares the syntax decorator.
        Parameters:
        out - writer that will hold the resulting wiki markup.
        liStack - stack containing the amount of nested lis.
        preStack - stack containing the amount of nested pres.
        outTrimmer - writer capable of trimming whitespaces and of checking if it's currently writing a line start.
        config - xhtml to wiki configuration object.
        chain - chain (in the chain of responsibilities patterns) that is expected to be called by the different xhtml decorations.