Class PlainTextBoldDecorator
java.lang.Object
org.apache.wiki.htmltowiki.syntax.PlainTextBoldDecorator
Translates to wiki syntax from a plain text handling bold.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XHtmlElementToWikiTranslatorprotected final PrintWriterprotected final PlainTextItalicDecorator -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPlainTextBoldDecorator(PlainTextItalicDecorator ptid, PrintWriter out, XHtmlElementToWikiTranslator chain) -
Method Summary
Modifier and TypeMethodDescriptionvoidTranslates the given XHTML element into wiki markup.voiddecorate(org.jdom2.Element e) Translates the given XHTML element into wiki markup.protected abstract StringClosing wiki markup for a bold element.protected abstract StringOpening wiki markup for a bold element.
-
Field Details
-
out
-
chain
-
ptid
-
-
Constructor Details
-
PlainTextBoldDecorator
protected PlainTextBoldDecorator(PlainTextItalicDecorator ptid, PrintWriter out, XHtmlElementToWikiTranslator chain)
-
-
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
-
decorate
Translates the given XHTML element into wiki markup.- Parameters:
e- XHTML element being translated.- Throws:
org.jdom2.JDOMException
-
markupBoldOpen
Opening wiki markup for a bold element.- Returns:
- Opening wiki markup for a bold element.
-
markupBoldClose
Closing wiki markup for a bold element.- Returns:
- Closing wiki markup for a bold element.
-