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 XHtmlElementToWikiTranslatorprotected final PrintWriter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionvoidTranslates the given XHTML element into wiki markup.protected abstract StringmarkupCssSpecialClose(String cssStyle) Closing wiki markup for a css style element.protected abstract StringmarkupCssSpecialDivClose(String cssStyle) Closing wiki markup for a css style element.protected abstract StringmarkupCssSpecialDivOpen(String cssStyle) Opening wiki markup for a css style element.protected abstract StringmarkupCssSpecialOpen(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.
-