Package com.vladsch.flexmark.formatter
Interface NodeFormatter
-
- All Known Subinterfaces:
PhasedNodeFormatter
- All Known Implementing Classes:
AbbreviationNodeFormatter
,AdmonitionNodeFormatter
,AsideNodeFormatter
,AttributesNodeFormatter
,CoreNodeFormatter
,DefinitionNodeFormatter
,EmojiNodeFormatter
,EnumeratedReferenceNodeFormatter
,FootnoteNodeFormatter
,GitLabNodeFormatter
,JekyllFrontMatterNodeFormatter
,JekyllTagNodeFormatter
,MacrosNodeFormatter
,NodeRepositoryFormatter
,SimTocNodeFormatter
,SpecExampleNodeFormatter
,SyntheticLinkFormatterSample.SyntheticLinkNodeFormatter
,TableNodeFormatter
,TaskListNodeFormatter
,WikiLinkNodeFormatter
,YamlFrontMatterNodeFormatter
public interface NodeFormatter
A renderer for a set of node types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default char
getBlockQuoteLikePrefixChar()
Return character which compacts like block quote prefixjava.util.Set<java.lang.Class<?>>
getNodeClasses()
Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.java.util.Set<NodeFormattingHandler<?>>
getNodeFormattingHandlers()
-
-
-
Method Detail
-
getNodeFormattingHandlers
@Nullable java.util.Set<NodeFormattingHandler<?>> getNodeFormattingHandlers()
- Returns:
- the mapping of nodes this renderer handles to rendering function
-
getNodeClasses
@Nullable java.util.Set<java.lang.Class<?>> getNodeClasses()
Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.- Returns:
- the nodes of interest to this formatter during formatting.
-
getBlockQuoteLikePrefixChar
default char getBlockQuoteLikePrefixChar()
Return character which compacts like block quote prefix- Returns:
- character or NUL if none
-
-