Class TaskListNodeFormatter
java.lang.Object
com.vladsch.flexmark.ext.gfm.tasklist.internal.TaskListNodeFormatter
- All Implemented Interfaces:
NodeFormatter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.@Nullable Set
<NodeFormattingHandler<?>> static boolean
hasIncompleteDescendants
(Node node) int
itemPriority
(Node node) private void
render
(BulletList node, NodeFormatterContext context, MarkdownWriter markdown) private void
render
(OrderedList node, NodeFormatterContext context, MarkdownWriter markdown) private void
render
(TaskListItem node, NodeFormatterContext context, MarkdownWriter markdown) void
renderList
(ListBlock node, NodeFormatterContext context, MarkdownWriter markdown) int
taskItemPriority
(Node node) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vladsch.flexmark.formatter.NodeFormatter
getBlockQuoteLikePrefixChar
-
Field Details
-
taskListFormatOptions
-
listOptions
-
-
Constructor Details
-
TaskListNodeFormatter
-
-
Method Details
-
getNodeFormattingHandlers
- Specified by:
getNodeFormattingHandlers
in interfaceNodeFormatter
- Returns:
- the mapping of nodes this renderer handles to rendering function
-
getNodeClasses
Description copied from interface:NodeFormatter
Collect nodes of given type so that they can be quickly accessed without traversing the AST by all formatting extensions.- Specified by:
getNodeClasses
in interfaceNodeFormatter
- Returns:
- the nodes of interest to this formatter during formatting.
-
render
-
render
-
render
-
hasIncompleteDescendants
-
taskItemPriority
-
itemPriority
-
renderList
-