org.apache.wicket.util.lang
Class PropertyResolverConverter

java.lang.Object
  extended by org.apache.wicket.util.lang.PropertyResolverConverter
All Implemented Interfaces:
java.io.Serializable, IClusterable

public class PropertyResolverConverter
extends java.lang.Object
implements IClusterable

Author:
jcompagner
See Also:
Serialized Form

Constructor Summary
PropertyResolverConverter(IConverterLocator converterSupplier, java.util.Locale locale)
          Construct.
 
Method Summary
<T> T
convert(java.lang.Object object, java.lang.Class<T> clz)
           
protected
<C> java.lang.String
convertToString(C object, java.util.Locale locale)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyResolverConverter

public PropertyResolverConverter(IConverterLocator converterSupplier,
                                 java.util.Locale locale)
Construct.

Parameters:
converterSupplier -
locale -
Method Detail

convert

public <T> T convert(java.lang.Object object,
                     java.lang.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> java.lang.String convertToString(C object,
                                               java.util.Locale locale)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.