Class TableTextContentNodeRenderer
- java.lang.Object
-
- org.commonmark.ext.gfm.tables.internal.TableNodeRenderer
-
- org.commonmark.ext.gfm.tables.internal.TableTextContentNodeRenderer
-
- All Implemented Interfaces:
NodeRenderer
public class TableTextContentNodeRenderer extends TableNodeRenderer
The Table node renderer that is needed for rendering GFM tables (GitHub Flavored Markdown) to text content.
-
-
Field Summary
Fields Modifier and Type Field Description private TextContentNodeRendererContext
context
private TextContentWriter
textContentWriter
-
Constructor Summary
Constructors Constructor Description TableTextContentNodeRenderer(TextContentNodeRendererContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
renderBlock(TableBlock tableBlock)
protected void
renderBody(TableBody tableBody)
protected void
renderCell(TableCell tableCell)
private void
renderChildren(Node parent)
protected void
renderHead(TableHead tableHead)
protected void
renderRow(TableRow tableRow)
-
Methods inherited from class org.commonmark.ext.gfm.tables.internal.TableNodeRenderer
getNodeTypes, render
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.commonmark.renderer.NodeRenderer
afterRoot, beforeRoot
-
-
-
-
Field Detail
-
textContentWriter
private final TextContentWriter textContentWriter
-
context
private final TextContentNodeRendererContext context
-
-
Constructor Detail
-
TableTextContentNodeRenderer
public TableTextContentNodeRenderer(TextContentNodeRendererContext context)
-
-
Method Detail
-
renderBlock
protected void renderBlock(TableBlock tableBlock)
- Specified by:
renderBlock
in classTableNodeRenderer
-
renderHead
protected void renderHead(TableHead tableHead)
- Specified by:
renderHead
in classTableNodeRenderer
-
renderBody
protected void renderBody(TableBody tableBody)
- Specified by:
renderBody
in classTableNodeRenderer
-
renderRow
protected void renderRow(TableRow tableRow)
- Specified by:
renderRow
in classTableNodeRenderer
-
renderCell
protected void renderCell(TableCell tableCell)
- Specified by:
renderCell
in classTableNodeRenderer
-
renderChildren
private void renderChildren(Node parent)
-
-