Class ConfluenceTableBlockRenderer

java.lang.Object
com.atlassian.renderer.v2.components.table.TableBlockRenderer
com.atlassian.confluence.renderer.v2.ConfluenceTableBlockRenderer
All Implemented Interfaces:
com.atlassian.renderer.v2.components.block.BlockRenderer

public class ConfluenceTableBlockRenderer extends com.atlassian.renderer.v2.components.table.TableBlockRenderer
Customize the default rendering logic of a table.

The only customization is to add an additional class attribute to TABLE, TD, TH elements.

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    renderTable(com.atlassian.renderer.v2.components.table.Table table, com.atlassian.renderer.v2.SubRenderer subRenderer, com.atlassian.renderer.RenderContext renderContext)
     

    Methods inherited from class com.atlassian.renderer.v2.components.table.TableBlockRenderer

    renderNextBlock

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfluenceTableBlockRenderer

      public ConfluenceTableBlockRenderer()
  • Method Details

    • renderTable

      protected String renderTable(com.atlassian.renderer.v2.components.table.Table table, com.atlassian.renderer.v2.SubRenderer subRenderer, com.atlassian.renderer.RenderContext renderContext)
      Overrides:
      renderTable in class com.atlassian.renderer.v2.components.table.TableBlockRenderer