Package com.vaadin.data.converter
Interface ConverterFactory
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultConverterFactory
public interface ConverterFactory extends Serializable
CreatesConverter
instances capable to handle conversion between a model and a presentation type.- Since:
- 8.16
- Author:
- Vaadin Ltd
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <P,M>
Optional<Converter<P,M>>newInstance(Class<P> presentationType, Class<M> modelType)
Attempts to create aConverter
instance, capable to handle conversion between the given presentation and model types.
-