Class InputDecorator
java.lang.Object
org.apache.wiki.htmltowiki.syntax.InputDecorator
Translates to wiki syntax from a
INPUT element.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XHtmlElementToWikiTranslatorprotected final PrintWriter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInputDecorator(PrintWriter out, XHtmlElementToWikiTranslator chain) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorate(org.jdom2.Element e) Translates the given XHTML element into wiki markup.protected abstract StringmarkupForInputAttribute(String attr, String value) Wiki markup for anINPUT's attribute.protected abstract StringClosing wiki markup for anINPUTelement.protected abstract StringOpening wiki markup for anINPUTelement.
-
Field Details
-
out
-
chain
-
-
Constructor Details
-
InputDecorator
-
-
Method Details
-
decorate
Translates the given XHTML element into wiki markup.- Parameters:
e- XHTML element being translated.- Throws:
org.jdom2.JDOMException
-
markupForInputAttribute
Wiki markup for anINPUT's attribute.- Parameters:
attr- attribute's name.value- attribute's value.- Returns:
- Opening wiki markup for an
INPUTelement.
-
markupInputOpen
Opening wiki markup for anINPUTelement.- Returns:
- Opening wiki markup for an
INPUTelement.
-
markupInputClose
Closing wiki markup for anINPUTelement.- Returns:
- Closing wiki markup for an
INPUTelement.
-