Class H2Decorator
- java.lang.Object
-
- org.apache.wiki.htmltowiki.syntax.H2Decorator
-
public abstract class H2Decorator extends java.lang.Object
Translates to wiki syntax from anH2
element.
-
-
Field Summary
Fields Modifier and Type Field Description protected XHtmlElementToWikiTranslator
chain
protected java.io.PrintWriter
out
-
Constructor Summary
Constructors Modifier Constructor Description protected
H2Decorator(java.io.PrintWriter out, XHtmlElementToWikiTranslator chain)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
decorate(org.jdom2.Element e)
Translates the given XHTML element into wiki markup.protected abstract java.lang.String
markupH2()
Wiki markup for aH2
element.
-
-
-
Field Detail
-
out
protected final java.io.PrintWriter out
-
chain
protected final XHtmlElementToWikiTranslator chain
-
-
Constructor Detail
-
H2Decorator
protected H2Decorator(java.io.PrintWriter out, XHtmlElementToWikiTranslator chain)
-
-
Method Detail
-
decorate
public void decorate(org.jdom2.Element e) throws org.jdom2.JDOMException
Translates the given XHTML element into wiki markup.- Parameters:
e
- XHTML element being translated.- Throws:
org.jdom2.JDOMException
-
markupH2
protected abstract java.lang.String markupH2()
Wiki markup for aH2
element.- Returns:
- Wiki markup for a
H2
element.
-
-