Class PlainTextCssSpecialDecorator
java.lang.Object
org.apache.wiki.htmltowiki.syntax.PlainTextCssSpecialDecorator
Translates to wiki syntax from a plain text handling special css.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XHtmlElementToWikiTranslator
protected final PrintWriter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Translates the given XHTML element into wiki markup.protected abstract String
markupCssSpecialClose
(String cssStyle) Closing wiki markup for a css style element.protected abstract String
markupCssSpecialDivClose
(String cssStyle) Closing wiki markup for a css style element.protected abstract String
markupCssSpecialDivOpen
(String cssStyle) Opening wiki markup for a css style element.protected abstract String
markupCssSpecialOpen
(String cssStyle) Opening wiki markup for a css style element.
-
Field Details
-
out
-
chain
-
-
Constructor Details
-
PlainTextCssSpecialDecorator
-
-
Method Details
-
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
Opening wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Opening wiki markup for a css style element.
-
markupCssSpecialDivClose
Closing wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Closing wiki markup for a css style element.
-
markupCssSpecialOpen
Opening wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Opening wiki markup for a css style element.
-
markupCssSpecialClose
Closing wiki markup for a css style element.- Parameters:
cssStyle
- css styles to apply- Returns:
- Closing wiki markup for a css style element.
-