Class FormDecorator
java.lang.Object
org.apache.wiki.htmltowiki.syntax.FormDecorator
Translates to wiki syntax from a
FORM element.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final XHtmlElementToWikiTranslatorprotected final PrintWriter -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFormDecorator(PrintWriter out, XHtmlElementToWikiTranslator chain) -
Method Summary
Modifier and TypeMethodDescriptionvoiddecorate(org.jdom2.Element e) Translates the given XHTML element into wiki markup.protected abstract StringClosing wiki markup for aFormelement.protected abstract StringmarkupFormOpen(String name) Opening wiki markup for aFormelement.
-
Field Details
-
out
-
chain
-
-
Constructor Details
-
FormDecorator
-
-
Method Details
-
decorate
Translates the given XHTML element into wiki markup.- Parameters:
e- XHTML element being translated.- Throws:
org.jdom2.JDOMException
-
markupFormOpen
Opening wiki markup for aFormelement.- Parameters:
name-Form'snameattribute - may benull.- Returns:
- Opening wiki markup for a
Formelement.
-
markupFormClose
Closing wiki markup for aFormelement.- Returns:
- Closing wiki markup for a
Formelement.
-