Class TextAreaDecorator
java.lang.Object
org.apache.wiki.htmltowiki.syntax.TextAreaDecorator
Translates to wiki syntax from a
TEXTAREA
element.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XHtmlElementToWikiTranslator
protected final PrintWriter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TextAreaDecorator
(PrintWriter out, XHtmlElementToWikiTranslator chain) -
Method Summary
Modifier and TypeMethodDescriptionvoid
decorate
(org.jdom2.Element e) Translates the given XHTML element into wiki markup.protected abstract String
markupForTextAreaAttribute
(String attr, String value) Wiki markup for anTEXTAREA
's attribute.protected abstract String
Closing wiki markup for anINPUT
element.protected abstract String
Opening wiki markup for anTEXTAREA
element.
-
Field Details
-
out
-
chain
-
-
Constructor Details
-
TextAreaDecorator
-
-
Method Details
-
decorate
Translates the given XHTML element into wiki markup.- Parameters:
e
- XHTML element being translated.- Throws:
org.jdom2.JDOMException
-
markupForTextAreaAttribute
Wiki markup for anTEXTAREA
's attribute.- Parameters:
attr
- attribute's name.value
- attribute's value.- Returns:
- Opening wiki markup for an
TEXTAREA
element.
-
markupTextAreaOpen
Opening wiki markup for anTEXTAREA
element.- Returns:
- Opening wiki markup for an
TEXTAREA
element.
-
markupTextAreaClose
Closing wiki markup for anINPUT
element.- Returns:
- Closing wiki markup for an
INPUT
element.
-