public class SimpleValueConverter extends Object implements ValueConverter
| Constructor and Description |
|---|
SimpleValueConverter() |
| Modifier and Type | Method and Description |
|---|---|
Object |
convertToObject(String value,
ConvertContext context)
Converts a String to an Object.
|
String |
convertToString(Object value,
ConvertContext context)
Converts a value object to a String.
|
public String convertToString(Object value, ConvertContext context)
ValueConverterconvertToString in interface ValueConvertervalue - The value object to convert.context - The context of the value object.public Object convertToObject(String value, ConvertContext context)
ValueConverterconvertToObject in interface ValueConvertervalue - The String to convert.context - The context of the value object.Copyright © 2006–2017 Esito AS. All rights reserved.