Class H2Decorator


  • public abstract class H2Decorator
    extends java.lang.Object
    Translates to wiki syntax from an H2 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 markupH2()
      Wiki markup for a H2 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
      • markupH2

        protected abstract java.lang.String markupH2()
        Wiki markup for a H2 element.
        Returns:
        Wiki markup for a H2 element.