com.atlassian.confluence.renderer.v2
Class ConfluenceTableBlockRenderer

java.lang.Object
  extended by com.atlassian.renderer.v2.components.table.TableBlockRenderer
      extended by 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
ConfluenceTableBlockRenderer()
           
 
Method Summary
protected  java.lang.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 Detail

ConfluenceTableBlockRenderer

public ConfluenceTableBlockRenderer()
Method Detail

renderTable

protected java.lang.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


Copyright © 2003-2014 Atlassian. All Rights Reserved.