APIdia Launch Partner
Top Description Methods
jdk.internal.org.commonmark.renderer.markdown

public Interface MarkdownNodeRendererFactory

Imports
jdk.internal.org.commonmark.renderer.NodeRenderer, java.util.Set

Factory for instantiating new node renderers for rendering custom nodes.

Method Summary

Modifier and TypeMethod and Description
public NodeRenderer

Returns:

a node renderer
create
(MarkdownNodeRendererContext
the context for rendering (normally passed on to the node renderer)
context
)

Create a new node renderer for the specified rendering context.

public Set<Character>
getSpecialCharacters()

Returns: the additional special characters that this factory would like to have escaped in normal text; currently only ASCII characters are allowed

Method Detail

createback to summary
public NodeRenderer create(MarkdownNodeRendererContext context)

Create a new node renderer for the specified rendering context.

Parameters
context:MarkdownNodeRendererContext

the context for rendering (normally passed on to the node renderer)

Returns:NodeRenderer

a node renderer

getSpecialCharactersback to summary
public Set<Character> getSpecialCharacters()
Returns:Set<Character>

the additional special characters that this factory would like to have escaped in normal text; currently only ASCII characters are allowed