Top Description Methods
com.vladsch.flexmark.formatter

public Interface NodeFormatter

Known Direct Subinterfaces
com.vladsch.flexmark.formatter.PhasedNodeFormatter
Imports
com.vladsch.flexmark.util.sequence.SequenceUtils, org.jetbrains.annotations.Nullable, java.util.Set

A renderer for a set of node types.

Method Summary

Modifier and TypeMethod and Description
public default char

Returns:

character or NUL if none
getBlockQuoteLikePrefixChar
()

Return character which compacts like block quote prefix

public @Nullable Set<Class<?>>

Returns:

the nodes of interest to this formatter during formatting.
getNodeClasses
()

Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.

public @Nullable Set<NodeFormattingHandler<?>>

Returns:

the mapping of nodes this renderer handles to rendering function
getNodeFormattingHandlers
()

Method Detail

getBlockQuoteLikePrefixCharback to summary
public default char getBlockQuoteLikePrefixChar()

Return character which compacts like block quote prefix

Returns:char

character or NUL if none

getNodeClassesback to summary
public @Nullable Set<Class<?>> getNodeClasses()

Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.

Returns:@Nullable Set<Class<?>>

the nodes of interest to this formatter during formatting.

Annotations
@Nullable
getNodeFormattingHandlersback to summary
public @Nullable Set<NodeFormattingHandler<?>> getNodeFormattingHandlers()
Returns:@Nullable Set<NodeFormattingHandler<?>>

the mapping of nodes this renderer handles to rendering function

Annotations
@Nullable