Class CodeDecorator


  • public abstract class CodeDecorator
    extends java.lang.Object
    Translates to wiki syntax from a CODE 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 markupCodeClose()
      Closing wiki markup for a CODE element.
      protected abstract java.lang.String markupCodeOpen()
      Opening wiki markup for a CODE 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
      • markupCodeOpen

        protected abstract java.lang.String markupCodeOpen()
        Opening wiki markup for a CODE element.
        Returns:
        Opening wiki markup for a CODE element.
      • markupCodeClose

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