Class DlDecorator
- java.lang.Object
-
- org.apache.wiki.htmltowiki.syntax.DlDecorator
-
public abstract class DlDecorator extends java.lang.Object
Translates to wiki syntax from aDLelement.
-
-
Field Summary
Fields Modifier and Type Field Description protected XHtmlElementToWikiTranslatorchainprotected java.io.PrintWriterout
-
Constructor Summary
Constructors Modifier Constructor Description protectedDlDecorator(java.io.PrintWriter out, XHtmlElementToWikiTranslator chain)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voiddecorate(org.jdom2.Element e)Translates the given XHTML element into wiki markup.protected abstract java.lang.StringmarkupDlClose()Closing wiki markup for aDLelement.protected abstract java.lang.StringmarkupDlOpen()Opening wiki markup for aDLelement.
-
-
-
Field Detail
-
out
protected final java.io.PrintWriter out
-
chain
protected final XHtmlElementToWikiTranslator chain
-
-
Constructor Detail
-
DlDecorator
protected DlDecorator(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
-
markupDlOpen
protected abstract java.lang.String markupDlOpen()
Opening wiki markup for aDLelement.- Returns:
- Opening wiki markup for a
DLelement.
-
markupDlClose
protected abstract java.lang.String markupDlClose()
Closing wiki markup for aDLelement.- Returns:
- Closing wiki markup for a
DLelement.
-
-