Start with the builder method to configure the renderer. Example:
HtmlRenderer renderer = HtmlRenderer.builder().escapeHtml(true).build();
renderer.render(node);
| Modifier and Type | Class and Description |
|---|---|
| public static class | HtmlRenderer.
Builder for configuring an |
| public static interface | HtmlRenderer.
Extension for |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final List | |
| public static final DataKey | |
| public static final NullableDataKey | |
| public static final NullableDataKey | |
| public static final int | COLLAPSE_WHITESPACE
Deprecated
|
| public static final int | CONVERT_TABS
Deprecated
|
| public static final DataKey | |
| public static final DataKey | |
| public static final NullableDataKey | |
| public static final NullableDataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final int | FORMAT_ALL
Deprecated
|
| public static final int | FORMAT_ALL_OPTIONS
Deprecated
|
| public static final int | FORMAT_COLLAPSE_WHITESPACE
Deprecated
|
| public static final int | FORMAT_CONVERT_TABS
Deprecated
|
| public static final DataKey | FORMAT_FLAGS
output control for FormattingAppendable, see |
| public static final int | FORMAT_SUPPRESS_TRAILING_WHITESPACE
Deprecated
|
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| pack-priv final HeaderIdGeneratorFactory | |
| pack-priv final HtmlRendererOptions | |
| public static final DataKey | |
| public static final NullableDataKey | |
| pack-priv final List | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| pack-priv final List | |
| public static final DataKey | |
| public static final DataKey | |
| pack-priv final DataHolder | |
| public static final int | PASS_THROUGH
Deprecated
|
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | RENDERER_TYPE_EQUIVALENCE
Stores pairs of equivalent renderer types to allow extensions to resolve types not known to them Pair contains: rendererType, equivalentType |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final NullableDataKey | |
| public static final NullableDataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final int | SUPPRESS_TRAILING_WHITESPACE
Deprecated
|
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static @NotNull MutableDataHolder | addRenderTypeEquivalence(@NotNull MutableDataHolder options, @NotNull String rendererType, @NotNull String supportedRendererType)
|
| public static @NotNull HtmlRenderer. | |
| public static @NotNull HtmlRenderer. | Returns: a builderinitialization options options)Create a new builder for configuring an |
| public @NotNull DataHolder | |
| public static boolean | |
| public static boolean | isCompatibleRendererType(@NotNull MutableDataHolder options, @NotNull String rendererType, @NotNull String supportedRendererType)
|
| public void | render(@NotNull Node
node to render node, @NotNull Appendable appendable to use for the output output)Render a node to the appendable |
| public void | render(@NotNull Node
node to render node, @NotNull Appendable appendable to use for the output output, int maxTrailingBlankLines)Render a node to the appendable |
| public @NotNull String |