Class FormDecorator


  • public abstract class FormDecorator
    extends java.lang.Object
    Translates to wiki syntax from a FORM element.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void decorate​(org.jdom2.Element e)
      Translates the given XHTML element into wiki markup.
      protected abstract java.lang.String markupFormClose()
      Closing wiki markup for a Form element.
      protected abstract java.lang.String markupFormOpen​(java.lang.String name)
      Opening wiki markup for a Form element.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
      • markupFormOpen

        protected abstract java.lang.String markupFormOpen​(java.lang.String name)
        Opening wiki markup for a Form element.
        Parameters:
        name - Form's name attribute - may be null.
        Returns:
        Opening wiki markup for a Form element.
      • markupFormClose

        protected abstract java.lang.String markupFormClose()
        Closing wiki markup for a Form element.
        Returns:
        Closing wiki markup for a Form element.