public class AbbreviationExtension extends Object implements com.vladsch.flexmark.parser.Parser.ParserExtension, com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtension, com.vladsch.flexmark.parser.Parser.ReferenceHoldingExtension, com.vladsch.flexmark.formatter.Formatter.FormatterExtension
| Modifier and Type | Field and Description |
|---|---|
static com.vladsch.flexmark.util.data.DataKey<AbbreviationRepository> |
ABBREVIATIONS
A
DataKey that is used to get the document's Node repository holding all the abbreviations defined in the current document. |
static com.vladsch.flexmark.util.data.DataKey<com.vladsch.flexmark.util.ast.KeepType> |
ABBREVIATIONS_KEEP
A
DataKey that is used to set the behavior of the abbreviations repository when duplicates are defined. |
static com.vladsch.flexmark.util.data.DataKey<com.vladsch.flexmark.util.format.options.ElementPlacement> |
ABBREVIATIONS_PLACEMENT |
static com.vladsch.flexmark.util.data.DataKey<com.vladsch.flexmark.util.format.options.ElementPlacementSort> |
ABBREVIATIONS_SORT |
static com.vladsch.flexmark.util.data.DataKey<Boolean> |
MAKE_MERGED_ABBREVIATIONS_UNIQUE |
static com.vladsch.flexmark.util.data.DataKey<Boolean> |
USE_LINKS
A
DataKey that is used to set the use links option when true, default is false and abbr tag will be used in the rendered HTML. |
| Constructor and Description |
|---|
AbbreviationExtension() |
| Modifier and Type | Method and Description |
|---|---|
static AbbreviationExtension |
create() |
void |
extend(com.vladsch.flexmark.formatter.Formatter.Builder formatterBuilder) |
void |
extend(com.vladsch.flexmark.html.HtmlRenderer.Builder htmlRendererBuilder,
@NotNull String rendererType) |
void |
extend(com.vladsch.flexmark.parser.Parser.Builder parserBuilder) |
void |
parserOptions(com.vladsch.flexmark.util.data.MutableDataHolder options) |
void |
rendererOptions(@NotNull com.vladsch.flexmark.util.data.MutableDataHolder options) |
boolean |
transferReferences(com.vladsch.flexmark.util.data.MutableDataHolder document,
com.vladsch.flexmark.util.data.DataHolder included) |
public static final com.vladsch.flexmark.util.data.DataKey<com.vladsch.flexmark.util.ast.KeepType> ABBREVIATIONS_KEEP
DataKey that is used to set the behavior of the abbreviations repository when duplicates are defined. KeepTypepublic static final com.vladsch.flexmark.util.data.DataKey<AbbreviationRepository> ABBREVIATIONS
DataKey that is used to get the document's Node repository holding all the abbreviations defined in the current document.public static final com.vladsch.flexmark.util.data.DataKey<Boolean> USE_LINKS
DataKey that is used to set the use links option when true, default is false and abbr tag will be used in the rendered HTML.public static final com.vladsch.flexmark.util.data.DataKey<com.vladsch.flexmark.util.format.options.ElementPlacement> ABBREVIATIONS_PLACEMENT
public static final com.vladsch.flexmark.util.data.DataKey<com.vladsch.flexmark.util.format.options.ElementPlacementSort> ABBREVIATIONS_SORT
public static final com.vladsch.flexmark.util.data.DataKey<Boolean> MAKE_MERGED_ABBREVIATIONS_UNIQUE
public static AbbreviationExtension create()
public void extend(com.vladsch.flexmark.formatter.Formatter.Builder formatterBuilder)
extend in interface com.vladsch.flexmark.formatter.Formatter.FormatterExtensionpublic void rendererOptions(@NotNull
@NotNull com.vladsch.flexmark.util.data.MutableDataHolder options)
rendererOptions in interface com.vladsch.flexmark.formatter.Formatter.FormatterExtensionrendererOptions in interface com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtensionpublic void parserOptions(com.vladsch.flexmark.util.data.MutableDataHolder options)
parserOptions in interface com.vladsch.flexmark.parser.Parser.ParserExtensionpublic boolean transferReferences(com.vladsch.flexmark.util.data.MutableDataHolder document,
com.vladsch.flexmark.util.data.DataHolder included)
transferReferences in interface com.vladsch.flexmark.parser.Parser.ReferenceHoldingExtensionpublic void extend(com.vladsch.flexmark.parser.Parser.Builder parserBuilder)
extend in interface com.vladsch.flexmark.parser.Parser.ParserExtensionpublic void extend(@NotNull
com.vladsch.flexmark.html.HtmlRenderer.Builder htmlRendererBuilder,
@NotNull
@NotNull String rendererType)
extend in interface com.vladsch.flexmark.html.HtmlRenderer.HtmlRendererExtensionCopyright © 2020. All rights reserved.