Create it with create() then configure builders
The parsed abbreviations are turned into abbr tags by default or a links as an option by setting the AbbreviationExtension#USE_LINKS key to true in option used to create the Parser. via Parser.builder(options)
| Modifier and Type | Field and Description |
|---|---|
| public static final DataKey | ABBREVIATIONS
A |
| public static final DataKey | ABBREVIATIONS_KEEP
A |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey | |
| public static final DataKey |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static AbbreviationExtension | |
| public void | extend(Formatter.
Implements com.
|
| public void | extend(Parser.
parser builder with which to register extensions parserBuilderImplements com. This method is called on all extensions so that they can register their custom processors |
| public void | |
| public void | parserOptions(MutableDataHolder
option set that will be used for the builder options)Implements com. This method is called first on all extensions so that they can adjust the options that must be common to all extensions. |
| public void | rendererOptions(@NotNull MutableDataHolder
option set that will be used for the builder options)Implements com. This method is called first on all extensions so that they can adjust the options. |
| public boolean | transferReferences(MutableDataHolder
destination document for references document, DataHolder source document for references included)Implements com. This method is called to transfer references from included document to the source document |
| ABBREVIATIONS | back to summary |
|---|---|
| public static final DataKey<AbbreviationRepository> ABBREVIATIONS A | |
| ABBREVIATIONS_KEEP | back to summary |
|---|---|
| public static final DataKey<KeepType> ABBREVIATIONS_KEEP A | |
| ABBREVIATIONS_PLACEMENT | back to summary |
|---|---|
| public static final DataKey<ElementPlacement> ABBREVIATIONS_PLACEMENT | |
| ABBREVIATIONS_SORT | back to summary |
|---|---|
| public static final DataKey<ElementPlacementSort> ABBREVIATIONS_SORT | |
| MAKE_MERGED_ABBREVIATIONS_UNIQUE | back to summary |
|---|---|
| public static final DataKey<Boolean> MAKE_MERGED_ABBREVIATIONS_UNIQUE | |
| USE_LINKS | back to summary |
|---|---|
| public static final DataKey<Boolean> USE_LINKS A | |
| AbbreviationExtension | back to summary |
|---|---|
| public AbbreviationExtension() | |
| create | back to summary |
|---|---|
| public static AbbreviationExtension create() | |
| extend | back to summary |
|---|---|
| public void extend(Formatter. Implements com.
| |
| extend | back to summary |
|---|---|
| public void extend(Parser. Implements com. Doc from com. This method is called on all extensions so that they can register their custom processors | |
| extend | back to summary |
|---|---|
public void extend(HtmlRenderer.
| |
| parserOptions | back to summary |
|---|---|
| public void parserOptions(MutableDataHolder options) Implements com. Doc from com. This method is called first on all extensions so that they can adjust the options that must be common to all extensions.
| |
| rendererOptions | back to summary |
|---|---|
| public void rendererOptions(@NotNull MutableDataHolder options) Implements com. Doc from com. This method is called first on all extensions so that they can adjust the options.
| |
| transferReferences | back to summary |
|---|---|
| public boolean transferReferences(MutableDataHolder document, DataHolder included) Implements com. Doc from com. This method is called to transfer references from included document to the source document
| |