public interface PhasedNodeRenderer extends NodeRenderer
| Modifier and Type | Method and Description |
|---|---|
Set<RenderingPhase> |
getRenderingPhases() |
void |
renderDocument(NodeRendererContext context,
HtmlWriter html,
com.vladsch.flexmark.ast.Document document,
RenderingPhase phase)
Render the specified node.
|
getNodeRenderingHandlersSet<RenderingPhase> getRenderingPhases()
void renderDocument(NodeRendererContext context, HtmlWriter html, com.vladsch.flexmark.ast.Document document, RenderingPhase phase)
context - node renderer context instancehtml - html writer instancedocument - the document node to renderphase - rendering phase for which to generate the output. Will be any of RenderingPhase
no rendering should be done if phase is RenderingPhase.BODY because this phase
is used for the non-phased node rendering. For body phase this method is called before
the node renderer calls are made so it is a good place to reset internal structures for
start of each phase.Copyright © 2018. All rights reserved.