Top Methods
com.vladsch.flexmark.util.data

public Interface DataKeyAggregator

Imports
org.jetbrains.annotations.NotNull, .Nullable, java.util.Set

Method Summary

Modifier and TypeMethod and Description
public @NotNull DataHolder

Returns:

combined and cleaned of aggregate action keys, return MutableDataHolder if it was modified so downstream aggregators re-use the mutable
aggregate
(@NotNull DataHolder
set of combined options (by overwriting or combined by prior aggregator)
combined
)

Combine options by applying aggregate action keys

public @NotNull DataHolder

Returns:

combined aggregate actions from other and overrides overwritten in combined
aggregateActions
(@NotNull DataHolder
set of combined options (by overwriting or combined by prior aggregator)
combined
,
@NotNull DataHolder
set of original uncombined options
other
,
@NotNull DataHolder
overriding set of options
overrides
)

Combine aggregate action keys from two sets but do not apply them

public @NotNull DataHolder

Returns:

cleaned of all aggregate action keys
clean
(DataHolder
combined data holder
combined
)

Remove any keys which contain aggregation actions and do not represent a state

public @Nullable Set<Class<?>>

Returns:

keys
invokeAfterSet
()

return a set of aggregator classes this aggregator should run after

Method Detail

aggregateback to summary
public @NotNull DataHolder aggregate(@NotNull DataHolder combined)

Combine options by applying aggregate action keys

Parameters
combined:@NotNull DataHolder

set of combined options (by overwriting or combined by prior aggregator)

Returns:@NotNull DataHolder

combined and cleaned of aggregate action keys, return MutableDataHolder if it was modified so downstream aggregators re-use the mutable

Annotations
@NotNull
aggregateActionsback to summary
public @NotNull DataHolder aggregateActions(@NotNull DataHolder combined, @NotNull DataHolder other, @NotNull DataHolder overrides)

Combine aggregate action keys from two sets but do not apply them

Parameters
combined:@NotNull DataHolder

set of combined options (by overwriting or combined by prior aggregator)

other:@NotNull DataHolder

set of original uncombined options

overrides:@NotNull DataHolder

overriding set of options

Returns:@NotNull DataHolder

combined aggregate actions from other and overrides overwritten in combined

Annotations
@NotNull
cleanback to summary
public @NotNull DataHolder clean(DataHolder combined)

Remove any keys which contain aggregation actions and do not represent a state

Parameters
combined:DataHolder

combined data holder

Returns:@NotNull DataHolder

cleaned of all aggregate action keys

Annotations
@NotNull
invokeAfterSetback to summary
public @Nullable Set<Class<?>> invokeAfterSet()

return a set of aggregator classes this aggregator should run after

Returns:@Nullable Set<Class<?>>

keys

Annotations
@Nullable