|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyValueConverter
Converter of property values to and from Strings.
Method Summary | |
---|---|
Object |
convert(PropertyDescriptor descriptor, Object value) Converts, if necessary, the given value to the target type defined by the descriptor . |
Method Detail |
---|
Object convert(PropertyDescriptor descriptor, Object value) throws PropertyValueConversionException
descriptor
.
descriptor
- the descriptor of the property.
value
- the value to be converted according to the rules defined by the
descriptor
.
PropertyValueConversionException
- if the value cannot be converted from
String
to the target type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |