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.
| Modifier and Type | Field and Description |
|---|---|
| private final @NotNull DataKey | |
| private final @NotNull Function |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public @NotNull DataHolder | aggregateActions(@NotNull DataHolder dataHolder, @Nullable DataHolder other, @Nullable DataHolder overrides)
|
| myConsumerKey | back to summary |
|---|---|
| private final @NotNull DataKey<Consumer<S>> myConsumerKey
| |
| myDataExtractor | back to summary |
|---|---|
| private final @NotNull Function<T, S> myDataExtractor
| |
| SettableExtractedInstance | back to summary |
|---|---|
| public SettableExtractedInstance(@NotNull DataKey<Consumer<S>> consumerKey, @NotNull Function<T, S> dataExtractor) | |
| aggregate | back to summary |
|---|---|
| public void aggregate(T instance, @NotNull DataHolder dataHolder) | |
| aggregateActions | back to summary |
|---|---|
public @NotNull DataHolder aggregateActions(@NotNull DataHolder dataHolder, @Nullable DataHolder other, @Nullable DataHolder overrides)
| |