public interface ValueConverter
Modifier and Type | Method and Description |
---|---|
String |
toAttributeValue(Object o)
Converts an object to an attribute value.
|
Object |
toPropertyValue(String s)
Converts a string to a property value.
|
String toAttributeValue(Object o) throws BeanException
o
- the object, never null.BeanException
- if there was an error during the conversion.Object toPropertyValue(String s) throws BeanException
s
- the string, never null.BeanException
- if there was an error during the conversion.