T - type for the container settingS - type for the settingpublic final class SettableExtractedInstance<T,S> extends Object
For example: Rendering profile contains HTML, Parser and CSS settings. Rendering profile and its contained settings can be set by spec options. In order to handle this properly rendering profile settable instance is defined with HTML, Parser and CSS extracted settable instances. thus allowing setting options on contained instances directly or through the rendering profile container, while keeping the results consistent.
| Constructor and Description |
|---|
SettableExtractedInstance(@NotNull com.vladsch.flexmark.util.data.DataKey<Consumer<S>> consumerKey,
@NotNull Function<T,S> dataExtractor) |
| Modifier and Type | Method and Description |
|---|---|
void |
aggregate(T instance,
@NotNull com.vladsch.flexmark.util.data.DataHolder dataHolder) |
@NotNull com.vladsch.flexmark.util.data.DataHolder |
aggregateActions(@NotNull com.vladsch.flexmark.util.data.DataHolder dataHolder,
@Nullable com.vladsch.flexmark.util.data.DataHolder other,
@Nullable com.vladsch.flexmark.util.data.DataHolder overrides) |
public void aggregate(@NotNull
T instance,
@NotNull
@NotNull com.vladsch.flexmark.util.data.DataHolder dataHolder)
@NotNull
public @NotNull com.vladsch.flexmark.util.data.DataHolder aggregateActions(@NotNull
@NotNull com.vladsch.flexmark.util.data.DataHolder dataHolder,
@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder other,
@Nullable
@Nullable com.vladsch.flexmark.util.data.DataHolder overrides)
Copyright © 2020. All rights reserved.