|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ValueConverter
A value converter is an object that can transform an object into a string or vice versa.
Method Summary | |
---|---|
String |
toAttributeValue(Object o)
Converts an object to an attribute value. |
Object |
toPropertyValue(String s)
Converts a string to a property value. |
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |