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 XHtmlElementToWikiTranslator
protected final PrintWriter
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
InputDecorator
(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
markupForInputAttribute
(String attr, String value) Wiki markup for anINPUT
's attribute.protected abstract String
Closing wiki markup for anINPUT
element.protected abstract String
Opening wiki markup for anINPUT
element.
-
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
INPUT
element.
-
markupInputOpen
Opening wiki markup for anINPUT
element.- Returns:
- Opening wiki markup for an
INPUT
element.
-
markupInputClose
Closing wiki markup for anINPUT
element.- Returns:
- Closing wiki markup for an
INPUT
element.
-