Top Methods
com.vladsch.flexmark.util.format

public Interface NodeContext<N, C extends NodeContext<N, C>>

Imports
com.vladsch.flexmark.util.data.DataHolder, com.vladsch.flexmark.util.sequence.builder.ISequenceBuilder, org.jetbrains.annotations.NotNull, .Nullable

Method Summary

Modifier and TypeMethod and Description
public N

Returns:

the current node being rendered
getCurrentNode
()

public @NotNull DataHolder

Returns:

data holder
getOptions
()

Get options for the context

public C

Returns:

a new rendering context with a given appendable for its output
getSubContext
()

Creates a child rendering context that can be used to collect rendered html text.

public C

Returns:

a new rendering context with a given appendable for its output
getSubContext
(@Nullable DataHolder
options to use for the context (only options which do not affect the context construction will be used)
options
)

Creates a child rendering context that can be used to collect rendered html text.

public C

Returns:

a new rendering context with a given appendable for its output
getSubContext
(@Nullable DataHolder
options to use for the context (only options which do not affect the context construction will be used)
options
,
@NotNull ISequenceBuilder<?, ?>
sequence builder to user for appended text for tracking original base offsets
builder
)

Creates a child rendering context that can be used to collect rendered html text.

Method Detail

getCurrentNodeback to summary
public N getCurrentNode()
Returns:N

the current node being rendered

Annotations
@Nullable
getOptionsback to summary
public @NotNull DataHolder getOptions()

Get options for the context

Returns:@NotNull DataHolder

data holder

Annotations
@NotNull
getSubContextback to summary
public C getSubContext()

Creates a child rendering context that can be used to collect rendered html text. The child context inherits everything but the HtmlRenderer and doNotRenderLinksNesting from the parent.

Returns:C

a new rendering context with a given appendable for its output

Annotations
@NotNull
getSubContextback to summary
public C getSubContext(@Nullable DataHolder options)

Creates a child rendering context that can be used to collect rendered html text. The child context inherits everything but the HtmlRenderer and doNotRenderLinksNesting from the parent.

Parameters
options:@Nullable DataHolder

options to use for the context (only options which do not affect the context construction will be used)

Returns:C

a new rendering context with a given appendable for its output

Annotations
@NotNull
getSubContextback to summary
public C getSubContext(@Nullable DataHolder options, @NotNull ISequenceBuilder<?, ?> builder)

Creates a child rendering context that can be used to collect rendered html text. The child context inherits everything but the HtmlRenderer and doNotRenderLinksNesting from the parent.

Parameters
options:@Nullable DataHolder

options to use for the context (only options which do not affect the context construction will be used)

builder:@NotNull ISequenceBuilder<?, ?>

sequence builder to user for appended text for tracking original base offsets

Returns:C

a new rendering context with a given appendable for its output

Annotations
@NotNull