Class SupDecorator
- java.lang.Object
-
- org.apache.wiki.htmltowiki.syntax.SupDecorator
-
public abstract class SupDecorator extends java.lang.Object
Translates to wiki syntax from aSUP
element.
-
-
Field Summary
Fields Modifier and Type Field Description protected XHtmlElementToWikiTranslator
chain
protected java.io.PrintWriter
out
-
Constructor Summary
Constructors Modifier Constructor Description protected
SupDecorator(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
markupSupClose()
Closing wiki markup for aSUP
element.protected abstract java.lang.String
markupSupOpen()
Opening wiki markup for aSUP
element.
-
-
-
Field Detail
-
out
protected final java.io.PrintWriter out
-
chain
protected final XHtmlElementToWikiTranslator chain
-
-
Constructor Detail
-
SupDecorator
protected SupDecorator(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
-
markupSupOpen
protected abstract java.lang.String markupSupOpen()
Opening wiki markup for aSUP
element.- Returns:
- Opening wiki markup for a
SUP
element.
-
markupSupClose
protected abstract java.lang.String markupSupClose()
Closing wiki markup for aSUP
element.- Returns:
- Closing wiki markup for a
SUP
element.
-
-