com.vaadin.data.util.converter
Class DefaultConverterFactory
java.lang.Object
com.vaadin.data.util.converter.DefaultConverterFactory
- All Implemented Interfaces:
- ConverterFactory, java.io.Serializable
public class DefaultConverterFactory
- extends java.lang.Object
- implements ConverterFactory
Default implementation of ConverterFactory
. Provides converters for
standard types like String
, Double
and Date
.
Custom converters can be provided by extending this class and using
VaadinSession.setConverterFactory(ConverterFactory)
.
- Since:
- 7.0
- Author:
- Vaadin Ltd
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConverterFactory
public DefaultConverterFactory()
createConverter
public <PRESENTATION,MODEL> Converter<PRESENTATION,MODEL> createConverter(java.lang.Class<PRESENTATION> presentationType,
java.lang.Class<MODEL> modelType)
- Specified by:
createConverter
in interface ConverterFactory
findConverter
protected <PRESENTATION,MODEL> Converter<PRESENTATION,MODEL> findConverter(java.lang.Class<PRESENTATION> presentationType,
java.lang.Class<MODEL> modelType)
createDateConverter
protected Converter<java.util.Date,?> createDateConverter(java.lang.Class<?> sourceType)
createStringConverter
protected Converter<java.lang.String,?> createStringConverter(java.lang.Class<?> sourceType)
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.