org.wings.template
Interface PropertyValueConverter

All Known Implementing Classes:
DefaultPropertyValueConverter

public interface PropertyValueConverter

A PropertyValueConverter is able to convert a property value (a string) to an Java object.

Author:
Armin Haaf

Method Summary
 Object convertPropertyValue(String value, Class targetClass)
          Describe toObject method here.
 

Method Detail

convertPropertyValue

Object convertPropertyValue(String value,
                            Class targetClass)
                            throws IllegalArgumentException
Describe toObject method here.

Parameters:
value - a String value
targetClass - a Class value
Returns:
an Object value
Throws:
IllegalArgumentException - if an error occurs


wingS Swings ;-)