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 XHtmlElementToWikiTranslatorprotected final PrintWriter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTextAreaDecorator(PrintWriter out, XHtmlElementToWikiTranslator chain) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorate(org.jdom2.Element e) Translates the given XHTML element into wiki markup.protected abstract StringmarkupForTextAreaAttribute(String attr, String value) Wiki markup for anTEXTAREA's attribute.protected abstract StringClosing wiki markup for anINPUTelement.protected abstract StringOpening wiki markup for anTEXTAREAelement.
-
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
TEXTAREAelement.
-
markupTextAreaOpen
Opening wiki markup for anTEXTAREAelement.- Returns:
- Opening wiki markup for an
TEXTAREAelement.
-
markupTextAreaClose
Closing wiki markup for anINPUTelement.- Returns:
- Closing wiki markup for an
INPUTelement.
-