public abstract class BuilderBase<T extends BuilderBase<T>>
extends com.vladsch.flexmark.util.data.MutableDataSet
| Modifier | Constructor and Description |
|---|---|
protected |
BuilderBase() |
protected |
BuilderBase(@Nullable com.vladsch.flexmark.util.data.DataHolder options) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addExtensionApiPoint(@NotNull Object apiPoint)
Call to add extension API point to track
|
abstract @NotNull Object |
build() |
T |
extensions(@NotNull Collection<? extends com.vladsch.flexmark.util.misc.Extension> extensions) |
<V> V |
get(@NotNull com.vladsch.flexmark.util.data.DataKey<V> key)
Deprecated.
use key.get(dataHolder) instead, which will do the same thing an carries nullable information for the data
|
protected abstract boolean |
loadExtension(@NotNull com.vladsch.flexmark.util.misc.Extension extension)
Load extension if it is valid
|
protected void |
loadExtensions() |
protected abstract void |
preloadExtension(@NotNull com.vladsch.flexmark.util.misc.Extension extension)
Preload operation for extension, perform any data config and other operation needed for loading extension
|
protected abstract void |
removeApiPoint(@NotNull Object apiPoint)
Remove apiPoint from state information
|
static com.vladsch.flexmark.util.data.DataHolder |
removeExtensions(@NotNull com.vladsch.flexmark.util.data.DataHolder options,
@NotNull Collection<Class<? extends com.vladsch.flexmark.util.misc.Extension>> excludeExtensions)
Remove given extensions from options[EXTENSIONS] data key.
|
<V> @NotNull com.vladsch.flexmark.util.data.MutableDataSet |
set(@NotNull com.vladsch.flexmark.util.data.DataKey<V> key,
V value)
Tracks keys set by extension initialization
|
<V> @NotNull com.vladsch.flexmark.util.data.MutableDataSet |
set(@NotNull com.vladsch.flexmark.util.data.NullableDataKey<V> key,
V value) |
clear, getOrCompute, merge, remove, setAll, setFrom, setIn, toDataSet, toImmutable, toMutableaggregate, aggregate, aggregateActions, contains, equals, getAll, getKeys, hashCode, registerDataKeyAggregator, toStringprotected BuilderBase(@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder options)
protected BuilderBase()
protected abstract void removeApiPoint(@NotNull
@NotNull Object apiPoint)
apiPoint - api point objectprotected abstract void preloadExtension(@NotNull
@NotNull com.vladsch.flexmark.util.misc.Extension extension)
extension - to preloadprotected abstract boolean loadExtension(@NotNull
@NotNull com.vladsch.flexmark.util.misc.Extension extension)
extension - to load@NotNull public final T extensions(@NotNull @NotNull Collection<? extends com.vladsch.flexmark.util.misc.Extension> extensions)
extensions - extensions to loadthis@NotNull public abstract @NotNull Object build()
protected void addExtensionApiPoint(@NotNull
@NotNull Object apiPoint)
apiPoint - point registered@NotNull
public <V> @NotNull com.vladsch.flexmark.util.data.MutableDataSet set(@NotNull
@NotNull com.vladsch.flexmark.util.data.DataKey<V> key,
@NotNull
V value)
set in interface com.vladsch.flexmark.util.data.MutableDataHolderset in class com.vladsch.flexmark.util.data.MutableDataSetkey - data keyvalue - value for the key@NotNull
public <V> @NotNull com.vladsch.flexmark.util.data.MutableDataSet set(@NotNull
@NotNull com.vladsch.flexmark.util.data.NullableDataKey<V> key,
@Nullable
V value)
set in interface com.vladsch.flexmark.util.data.MutableDataHolderset in class com.vladsch.flexmark.util.data.MutableDataSet@Deprecated public <V> V get(@NotNull @NotNull com.vladsch.flexmark.util.data.DataKey<V> key)
key - data keyprotected void loadExtensions()
public static com.vladsch.flexmark.util.data.DataHolder removeExtensions(@NotNull
@NotNull com.vladsch.flexmark.util.data.DataHolder options,
@NotNull
@NotNull Collection<Class<? extends com.vladsch.flexmark.util.misc.Extension>> excludeExtensions)
options - options where EXTENSIONS key is setexcludeExtensions - collection of extension classes to remove from extensionsCopyright © 2020. All rights reserved.