Top Fields Constructors Methods
com.vladsch.flexmark.formatter

public abstract Class NodeFormatterSubContext

extends Object
implements NodeFormatterContext
Class Inheritance
All Implemented Interfaces
com.vladsch.flexmark.formatter.NodeFormatterContext, com.vladsch.flexmark.formatter.ExplicitAttributeIdProvider, com.vladsch.flexmark.html.renderer.LinkResolverContext, com.vladsch.flexmark.html.renderer.LinkResolverBasicContext, com.vladsch.flexmark.formatter.TranslationContext, com.vladsch.flexmark.util.format.NodeContext
Known Direct Subclasses
com.vladsch.flexmark.formatter.Formatter.MainNodeFormatter, com.vladsch.flexmark.formatter.Formatter.MainNodeFormatter.SubNodeFormatter
Imports
com.vladsch.flexmark.util.ast.Node, org.jetbrains.annotations.NotNull, .Nullable, java.io.IOException, java.util.List

Field Summary

Modifier and TypeField and Description
protected final MarkdownWriter
pack-priv int
pack-priv List<NodeFormattingHandler<?>>
pack-priv Node

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
flushTo(@NotNull Appendable out, int maxTrailingBlankLines)

public void
flushTo(@NotNull Appendable out, int maxBlankLines, int maxTrailingBlankLines)

public @NotNull MarkdownWriter
public @Nullable Node
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

markdownback to summary
protected final MarkdownWriter markdown
rendererIndexback to summary
pack-priv int rendererIndex
rendererListback to summary
pack-priv List<NodeFormattingHandler<?>> rendererList
renderingNodeback to summary
pack-priv Node renderingNode

Constructor Detail

NodeFormatterSubContextback to summary
public NodeFormatterSubContext(@NotNull MarkdownWriter markdown)

Method Detail

flushToback to summary
public void flushTo(@NotNull Appendable out, int maxTrailingBlankLines)
flushToback to summary
public void flushTo(@NotNull Appendable out, int maxBlankLines, int maxTrailingBlankLines)
getMarkdownback to summary
public @NotNull MarkdownWriter getMarkdown()

Implements com.vladsch.flexmark.formatter.NodeFormatterContext.getMarkdown.

Returns:@NotNull MarkdownWriter

Doc from com.vladsch.flexmark.formatter.NodeFormatterContext.getMarkdown.

the HTML writer to use

Annotations
@Override
@NotNull
getRenderingNodeback to summary
public @Nullable Node getRenderingNode()
Annotations
@Nullable
setRenderingNodeback to summary
public void setRenderingNode(@Nullable Node renderingNode)