com.github.dandelion.datatables.core.processor
Interface ConfigurationProcessor

All Known Implementing Classes:
AbstractConfigurationProcessor, AjaxPipeliningProcessor, AjaxReloadFunctionProcessor, AjaxReloadProcessor, AjaxServerSideProcessor, AjaxSourceProcessor, BooleanProcessor, CssStripeClassesProcessor, CssThemeOptionProcessor, CssThemeProcessor, EmptyStringProcessor, ExportEnabledFormatProcessor, ExportFormatProcessor, FeatureAppearProcessor, FeatureFilterPlaceholderProcessor, FeatureFilterSelectorProcessor, FeatureLengthMenuProcessor, FeaturePaginationTypeProcessor, FilterableProcessor, FilterTypeProcessor, IntegerProcessor, MainExtensionNamesProcessor, MessageProcessor, SortDirectionProcessor, SortTypeProcessor, StringBuilderProcessor, StringProcessor

public interface ConfigurationProcessor

Super interface for all configuration processors.

Since:
0.10.0
Author:
Thibault Duchateau

Method Summary
 void process(Map.Entry<ConfigToken<?>,Object> configEntry, ColumnConfiguration columnConfiguration, TableConfiguration tableConfiguration)
           Processes the passed entry which is a ConfigToken from ColumnConfig.
 void process(Map.Entry<ConfigToken<?>,Object> configEntry, TableConfiguration tableConfiguration)
           Processes the passed entry which is a ConfigToken from TableConfig.
 

Method Detail

process

void process(Map.Entry<ConfigToken<?>,Object> configEntry,
             ColumnConfiguration columnConfiguration,
             TableConfiguration tableConfiguration)

Processes the passed entry which is a ConfigToken from ColumnConfig. The value stored in the entry will be updated depending on the processor declared in the ConfigToken.

If new entries are to be added, they will be added in the stagingConfigurations field of the passed ColumnConfiguration instance.

Parameters:
configEntry - The map entry to update.
columnConfiguration - The column configuration to be updated.
tableConfiguration - The table configuration to be updated.

process

void process(Map.Entry<ConfigToken<?>,Object> configEntry,
             TableConfiguration tableConfiguration)

Processes the passed entry which is a ConfigToken from TableConfig. The value stored in the entry will be updated depending on the processor declared in the ConfigToken.

If new entries are to be added, they will be added in the stagingConfigurations field of the passed TableConfiguration instance.

Parameters:
configEntry - The map entry to update.
tableConfiguration - The table configuration to be updated.


Copyright © 2013–2014 Dandelion Project. All rights reserved.