Top Description Methods
com.vladsch.flexmark.html2md.converter

public Interface PhasedHtmlNodeRenderer

extends HtmlNodeRenderer
Known Direct Implementers
com.vladsch.flexmark.html2md.converter.internal.HtmlConverterCoreNodeRenderer
Imports
com.vladsch.flexmark.util.sequence.LineAppendable, org.jsoup.nodes.Document, java.util.Set

A renderer for a document node for a specific rendering phase

Method Summary

Modifier and TypeMethod and Description
public Set<HtmlConverterPhase>
public void
renderDocument(HtmlNodeConverterContext
node renderer context instance
context
,
LineAppendable
markdown writer instance
markdown
,
Document
the document node to render
document
,
HtmlConverterPhase
rendering phase for which to generate the output. Will be any of HtmlConverterPhase except HtmlConverterPhase#DOCUMENT because this phase is used for the non-phased node rendering
phase
)

Render the specified node.

Inherited from com.vladsch.flexmark.html2md.converter.HtmlNodeRenderer:
getHtmlNodeRendererHandlers

Method Detail

getHtmlConverterPhasesback to summary
public Set<HtmlConverterPhase> getHtmlConverterPhases()
renderDocumentback to summary
public void renderDocument(HtmlNodeConverterContext context, LineAppendable markdown, Document document, HtmlConverterPhase phase)

Render the specified node.

Parameters
context:HtmlNodeConverterContext

node renderer context instance

markdown:LineAppendable

markdown writer instance

document:Document

the document node to render

phase:HtmlConverterPhase

rendering phase for which to generate the output. Will be any of HtmlConverterPhase except HtmlConverterPhase#DOCUMENT because this phase is used for the non-phased node rendering