public class OptionDecorator extends java.lang.Object
Translates to wiki syntax from a OPTION element.
Since this element outputs into the value of a parameter inside the FormSelect plugin, there shouldn't
be a reason to extend this class when developing a new wiki syntax (although you may do if you want to).
| Modifier and Type | Field and Description |
|---|---|
protected XHtmlElementToWikiTranslator |
chain |
protected java.io.PrintWriter |
out |
| Constructor and Description |
|---|
OptionDecorator(java.io.PrintWriter out,
XHtmlElementToWikiTranslator chain) |
| Modifier and Type | Method and Description |
|---|---|
void |
decorate(org.jdom2.Element base,
org.jdom2.Element e)
Translates the given XHTML element into wiki markup.
|
protected final java.io.PrintWriter out
protected final XHtmlElementToWikiTranslator chain
public OptionDecorator(java.io.PrintWriter out, XHtmlElementToWikiTranslator chain)
public void decorate(org.jdom2.Element base, org.jdom2.Element e) throws org.jdom2.JDOMException
base - the parent of the XHTML element being translated.e - XHTML element being translated.org.jdom2.JDOMExceptionCopyright (c) 2001-2022 The Apache Software Foundation. All rights reserved.