Package org.apache.wicket.core.util.lang
Class PropertyResolverConverter
- java.lang.Object
-
- org.apache.wicket.core.util.lang.PropertyResolverConverter
-
- All Implemented Interfaces:
Serializable
,IClusterable
public class PropertyResolverConverter extends Object implements IClusterable
- Author:
- jcompagner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PropertyResolverConverter(IConverterLocator converterSupplier, Locale locale)
Construct.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
convert(Object object, Class<T> clz)
protected <C> String
convertToString(C object, Locale locale)
-
-
-
Constructor Detail
-
PropertyResolverConverter
public PropertyResolverConverter(IConverterLocator converterSupplier, Locale locale)
Construct.- Parameters:
converterSupplier
-locale
-
-
-
Method Detail
-
convert
public <T> T convert(Object object, Class<T> clz)
- Type Parameters:
T
- target type- Parameters:
object
-clz
-- Returns:
- converted value of the type given, or null if the value cannot be converted to the given type.
-
convertToString
protected <C> String convertToString(C object, Locale locale)
-
-