public class DesignObjectConverter extends Object implements Converter<String,Object>
DesignAttributeHandler to
use internally.| Constructor and Description |
|---|
DesignObjectConverter() |
| Modifier and Type | Method and Description |
|---|---|
Result<Object> |
convertToModel(String value,
ValueContext context)
Converts the given value from model type to presentation type.
|
String |
convertToPresentation(Object value,
ValueContext context)
Converts the given value from presentation type to model type.
|
public Result<Object> convertToModel(String value, ValueContext context)
ConverterA converter can optionally use locale to do the conversion.
convertToModel in interface Converter<String,Object>value - The value to convert. Can be nullcontext - The value context for the conversion.public String convertToPresentation(Object value, ValueContext context)
ConverterA converter can optionally use locale to do the conversion.
convertToPresentation in interface Converter<String,Object>value - The value to convert. Can be nullcontext - The value context for the conversion.Copyright © 2018 Vaadin Ltd. All rights reserved.