Class PlainTextCssSpecialDecorator
- java.lang.Object
-
- org.apache.wiki.htmltowiki.syntax.PlainTextCssSpecialDecorator
-
public abstract class PlainTextCssSpecialDecorator extends java.lang.Object
Translates to wiki syntax from a plain text handling special css.
-
-
Field Summary
Fields Modifier and Type Field Description protected XHtmlElementToWikiTranslator
chain
protected java.io.PrintWriter
out
-
Constructor Summary
Constructors Modifier Constructor Description protected
PlainTextCssSpecialDecorator(java.io.PrintWriter out, XHtmlElementToWikiTranslator chain)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
decorate(XHtmlElementToWikiTranslator.ElementDecoratorData dto)
Translates the given XHTML element into wiki markup.protected abstract java.lang.String
markupCssSpecialClose(java.lang.String cssStyle)
Closing wiki markup for a css style element.protected abstract java.lang.String
markupCssSpecialDivClose(java.lang.String cssStyle)
Closing wiki markup for a css style element.protected abstract java.lang.String
markupCssSpecialDivOpen(java.lang.String cssStyle)
Opening wiki markup for a css style element.protected abstract java.lang.String
markupCssSpecialOpen(java.lang.String cssStyle)
Opening wiki markup for a css style element.
-
-
-
Field Detail
-
out
protected final java.io.PrintWriter out
-
chain
protected final XHtmlElementToWikiTranslator chain
-
-
Constructor Detail
-
PlainTextCssSpecialDecorator
protected PlainTextCssSpecialDecorator(java.io.PrintWriter out, XHtmlElementToWikiTranslator chain)
-
-
Method Detail
-
decorate
public void decorate(XHtmlElementToWikiTranslator.ElementDecoratorData dto) throws org.jdom2.JDOMException
Translates the given XHTML element into wiki markup.- Parameters:
dto
- XHTML element being translated.- Throws:
org.jdom2.JDOMException
-
markupCssSpecialDivOpen
protected abstract java.lang.String markupCssSpecialDivOpen(java.lang.String cssStyle)
Opening wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Opening wiki markup for a css style element.
-
markupCssSpecialDivClose
protected abstract java.lang.String markupCssSpecialDivClose(java.lang.String cssStyle)
Closing wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Closing wiki markup for a css style element.
-
markupCssSpecialOpen
protected abstract java.lang.String markupCssSpecialOpen(java.lang.String cssStyle)
Opening wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Opening wiki markup for a css style element.
-
markupCssSpecialClose
protected abstract java.lang.String markupCssSpecialClose(java.lang.String cssStyle)
Closing wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Closing wiki markup for a css style element.
-
-