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