Package com.vladsch.flexmark.formatter
Interface PhasedNodeFormatter
-
- All Superinterfaces:
NodeFormatter
- All Known Implementing Classes:
AbbreviationNodeFormatter
,AttributesNodeFormatter
,CoreNodeFormatter
,EnumeratedReferenceNodeFormatter
,FootnoteNodeFormatter
,JekyllFrontMatterNodeFormatter
,JekyllTagNodeFormatter
,MacrosNodeFormatter
,NodeRepositoryFormatter
,SyntheticLinkFormatterSample.SyntheticLinkNodeFormatter
,WikiLinkNodeFormatter
,YamlFrontMatterNodeFormatter
public interface PhasedNodeFormatter extends NodeFormatter
A renderer for a document node for a specific rendering phase
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<FormattingPhase>
getFormattingPhases()
void
renderDocument(NodeFormatterContext context, MarkdownWriter markdown, Document document, FormattingPhase phase)
Render the specified node.-
Methods inherited from interface com.vladsch.flexmark.formatter.NodeFormatter
getBlockQuoteLikePrefixChar, getNodeClasses, getNodeFormattingHandlers
-
-
-
-
Method Detail
-
getFormattingPhases
@Nullable java.util.Set<FormattingPhase> getFormattingPhases()
-
renderDocument
void renderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase)
Render the specified node.- Parameters:
context
- node renderer context instancemarkdown
- markdown writer instancedocument
- the document node to renderphase
- rendering phase for which to generate the output. Will be any ofFormattingPhase
exceptFormattingPhase.DOCUMENT
because this phase is used for the non-phased node rendering
-
-