Class TextAreaDecorator


  • public abstract class TextAreaDecorator
    extends java.lang.Object
    Translates to wiki syntax from a TEXTAREA element.
    • Method Detail

      • decorate

        public void decorate​(org.jdom2.Element e)
                      throws org.jdom2.JDOMException
        Translates the given XHTML element into wiki markup.
        Parameters:
        e - XHTML element being translated.
        Throws:
        org.jdom2.JDOMException
      • markupForTextAreaAttribute

        protected abstract java.lang.String markupForTextAreaAttribute​(java.lang.String attr,
                                                                       java.lang.String value)
        Wiki markup for an TEXTAREA's attribute.
        Parameters:
        attr - attribute's name.
        value - attribute's value.
        Returns:
        Opening wiki markup for an TEXTAREA element.
      • markupTextAreaOpen

        protected abstract java.lang.String markupTextAreaOpen()
        Opening wiki markup for an TEXTAREA element.
        Returns:
        Opening wiki markup for an TEXTAREA element.
      • markupTextAreaClose

        protected abstract java.lang.String markupTextAreaClose()
        Closing wiki markup for an INPUT element.
        Returns:
        Closing wiki markup for an INPUT element.