com.github.dandelion.datatables.core.configuration
Class ConfigToken<T>
java.lang.Object
com.github.dandelion.datatables.core.configuration.ConfigToken<T>
public class ConfigToken<T>
- extends Object
Token used to store a configuration, how to read it from properties and how
to process it.
- Since:
- 0.10.0
- Author:
- Thibault Duchateau
- See Also:
TableConfig,
ColumnConfig,
ConfigurationProcessor
ConfigToken
public ConfigToken(String propertyName,
ConfigurationProcessor processor)
getPropertyName
public String getPropertyName()
setPropertyName
public void setPropertyName(String propertyName)
getProcessor
public ConfigurationProcessor getProcessor()
valueFrom
public T valueFrom(Map<ConfigToken<?>,Object> configurations)
valueFrom
public T valueFrom(TableConfiguration tableConfiguration)
valueFrom
public T valueFrom(ColumnConfiguration columnConfiguration)
valueFrom
public T valueFrom(HtmlTable table)
setIn
public void setIn(ColumnConfiguration columnConfiguration,
T value)
setIn
public void setIn(TableConfiguration tableConfiguration,
T value)
appendIn
public void appendIn(TableConfiguration tableConfiguration,
String value)
toto
public void toto()
appendIn
public void appendIn(TableConfiguration tableConfiguration,
char value)
appendIn
public void appendIn(ColumnConfiguration columnConfiguration,
String value)
appendIn
public void appendIn(ColumnConfiguration columnConfiguration,
char value)
setIn
public void setIn(T value,
HtmlTable table)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013–2014 Dandelion Project. All rights reserved.