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 @Nullable Collection |
| Access | Constructor and Description |
|---|---|
| public | SettableInstance(@NotNull DataKey<Consumer<T>> consumerKey, @NotNull Collection<SettableExtractedInstance<T, ?>> extractedInstanceSetters)
|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DataHolder | aggregateActions(@NotNull DataHolder dataHolder, @Nullable DataHolder other, @Nullable DataHolder overrides)
|
| public T |
| myConsumerKey | back to summary |
|---|---|
| private final @NotNull DataKey<Consumer<T>> myConsumerKey
| |
| myExtractedInstanceSetters | back to summary |
|---|---|
| private final @Nullable Collection<SettableExtractedInstance<T, ?>> myExtractedInstanceSetters
| |
| SettableInstance | back to summary |
|---|---|
| public SettableInstance(@NotNull DataKey<Consumer<T>> consumerKey, @NotNull Collection<SettableExtractedInstance<T, ?>> extractedInstanceSetters) | |
| SettableInstance | back to summary |
|---|---|
| public SettableInstance(@NotNull DataKey<Consumer<T>> consumerKey) | |
| aggregateActions | back to summary |
|---|---|
| public DataHolder aggregateActions(@NotNull DataHolder dataHolder, @Nullable DataHolder other, @Nullable DataHolder overrides) | |
| setInstanceData | back to summary |
|---|---|
public T setInstanceData(T instance, @Nullable DataHolder dataHolder)
| |