Package com.vladsch.flexmark.formatter
Interface PhasedNodeFormatter
-
- All Superinterfaces:
NodeFormatter
- All Known Implementing Classes:
AbbreviationNodeFormatter,AttributesNodeFormatter,CoreNodeFormatter,EnumeratedReferenceNodeFormatter,FootnoteNodeFormatter,JekyllFrontMatterNodeFormatter,JekyllTagNodeFormatter,MacrosNodeFormatter,NodeRepositoryFormatter,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 @Nullable java.util.Set<FormattingPhase>getFormattingPhases()voidrenderDocument(@NotNull NodeFormatterContext context, @NotNull MarkdownWriter markdown, @NotNull Document document, @NotNull FormattingPhase phase)Render the specified node.-
Methods inherited from interface com.vladsch.flexmark.formatter.NodeFormatter
getBlockQuoteLikePrefixChar, getNodeClasses, getNodeFormattingHandlers
-
-
-
-
Method Detail
-
getFormattingPhases
@Nullable @Nullable java.util.Set<FormattingPhase> getFormattingPhases()
-
renderDocument
void renderDocument(@NotNull @NotNull NodeFormatterContext context, @NotNull @NotNull MarkdownWriter markdown, @NotNull @NotNull Document document, @NotNull @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 ofFormattingPhaseexceptFormattingPhase.DOCUMENTbecause this phase is used for the non-phased node rendering
-
-