Class JSPWikiSyntaxDecorator
- java.lang.Object
-
- org.apache.wiki.htmltowiki.syntax.WikiSyntaxDecorator
-
- org.apache.wiki.htmltowiki.syntax.jspwiki.JSPWikiSyntaxDecorator
-
- All Implemented Interfaces:
SyntaxDecorator
public class JSPWikiSyntaxDecorator extends WikiSyntaxDecorator
JSPWiki wiki syntax decorator which translates to wiki syntax. Delegates each kind of XHTML element to its specific decorator.
-
-
Field Summary
-
Fields inherited from class org.apache.wiki.htmltowiki.syntax.WikiSyntaxDecorator
a, br, chain, code, config, css, cssStyle, dd, dl, dt, em, form, h1, h2, h3, h4, hr, img, input, li, ol, option, outTrimmer, p, plainText, pre, select, strike, strong, sub, sup, table, tbody, td, textarea, textElement, th, thead, tr, ul, underline
-
-
Constructor Summary
Constructors Constructor Description JSPWikiSyntaxDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
Methods inherited from class org.apache.wiki.htmltowiki.syntax.WikiSyntaxDecorator
a, aFootnote, aUndefined, br, code, dd, dl, dt, em, form, h1, h2, h3, h4, hr, image, img, input, li, ol, option, p, paragraph, pre, select, strike, strong, sub, sup, table, tbody, td, text, textarea, th, thead, tr, ul, underline
-
-
-
-
Constructor Detail
-
JSPWikiSyntaxDecorator
public 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 nestedli
s.preStack
- stack containing the amount of nestedpre
s.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.
-
-