Class SubDecorator

java.lang.Object
org.apache.wiki.htmltowiki.syntax.SubDecorator

public abstract class SubDecorator extends Object
Translates to wiki syntax from a SUB element.
  • Field Details

  • Constructor Details

  • Method Details

    • 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
    • markupSubOpen

      protected abstract String markupSubOpen()
      Opening wiki markup for a SUB element.
      Returns:
      Opening wiki markup for a SUB element.
    • markupSubClose

      protected abstract String markupSubClose()
      Closing wiki markup for a SUB element.
      Returns:
      Closing wiki markup for a SUB element.