org.apache.wicket.util.lang
Class PropertyResolverConverter
java.lang.Object
org.apache.wicket.util.lang.PropertyResolverConverter
- All Implemented Interfaces:
- Serializable, IClusterable
public class PropertyResolverConverter
- extends Object
- implements IClusterable
- Author:
- jcompagner
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyResolverConverter
public PropertyResolverConverter(IConverterLocator converterSupplier,
Locale locale)
- Construct.
- Parameters:
converterSupplier
- locale
-
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)
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.