Interface ConfigurationValueMapperProvider
- All Superinterfaces:
 Iterable<ConfigurationValueMapper<?>>
- All Known Implementing Classes:
 ConfigurationValueMapperProvider.Default
public interface ConfigurationValueMapperProvider extends Iterable<ConfigurationValueMapper<?>>
Provider for 
ConfigurationValueMappers which are used in a Configuration.- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceConfigurationValueMapperProvider.BuilderBuilder for aConfigurationValueMapperProvider.static classConfigurationValueMapperProvider.Default - 
Method Summary
Modifier and Type Method Description static ConfigurationValueMapperProvider.BuilderBuilder()Pseudo-constructor method to create a new emptyConfigurationValueMapperProvider.Builderfor aConfigurationValueMapperProvider.static ConfigurationValueMapperProvider.BuilderDefault()<T> ConfigurationValueMapper<T>get(Class<T> type)Gets the value mapper for the specified type, ornullif none was found.static ConfigurationValueMapperProviderNew(XGettingMap<Class<?>,ConfigurationValueMapper<?>> table)Pseudo-constructor method to create a newConfigurationValueMapperProvider.<T> Optional<ConfigurationValueMapper<T>>opt(Class<T> type)Returns an optional value mapper for the specified type. 
- 
Method Details
- 
get
Gets the value mapper for the specified type, ornullif none was found.- Type Parameters:
 T- the target type- Parameters:
 type- the target's type class- Returns:
 - a 
ConfigurationValueMapperornullif none was found 
 - 
opt
Returns an optional value mapper for the specified type.- Type Parameters:
 T- the target type- Parameters:
 type- the target's type class- Returns:
 - an 
Optionalwith the value mapper or an empty one if none was found 
 - 
Builder
Pseudo-constructor method to create a new emptyConfigurationValueMapperProvider.Builderfor aConfigurationValueMapperProvider.- Returns:
 - a new builder
 
 - 
Default
Pseudo-constructor method to create a newConfigurationValueMapperProvider.Builderfor aConfigurationValueMapperProvider, with all value mappers which are provided by default for the following types:- Returns:
 - a new builder
 
 - 
New
static ConfigurationValueMapperProvider New(XGettingMap<Class<?>,ConfigurationValueMapper<?>> table)Pseudo-constructor method to create a newConfigurationValueMapperProvider.- Parameters:
 table- the providedConfigurationValueMappers- Returns:
 - a new 
ConfigurationValueMapperProvider 
 
 -