Class SelectDecorator


  • public abstract class SelectDecorator
    extends java.lang.Object
    Translates to wiki syntax from a SELECT 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
      • markupForSelectAttributeOpen

        protected abstract java.lang.String markupForSelectAttributeOpen​(java.lang.String attr)
        Opening wiki markup for a SELECT's attribute.
        Parameters:
        attr - attribute's name.
        Returns:
        Opening wiki markup for a SELECT element.
      • markupForSelectAttributeClose

        protected abstract java.lang.String markupForSelectAttributeClose()
        Closing wiki markup for a SELECT's attribute.
        Returns:
        Closing wiki markup for a SELECT element.
      • markupSelectOpen

        protected abstract java.lang.String markupSelectOpen()
        Opening wiki markup for an SELECT element.
        Returns:
        Opening wiki markup for an SELECT element.
      • markupSelectClose

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