org.apache.wicket.util.convert.converter
Class DoubleConverter
java.lang.Object
org.apache.wicket.util.convert.converter.AbstractConverter<N>
org.apache.wicket.util.convert.converter.AbstractNumberConverter<N>
org.apache.wicket.util.convert.converter.AbstractDecimalConverter<Double>
org.apache.wicket.util.convert.converter.DoubleConverter
- All Implemented Interfaces:
- Serializable, IClusterable, IConverter<Double>
public class DoubleConverter
- extends AbstractDecimalConverter<Double>
Converts from Object to Double.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final IConverter<Double> INSTANCE
- The singleton instance for a double converter
DoubleConverter
public DoubleConverter()
convertToObject
public Double convertToObject(String value,
Locale locale)
- Description copied from interface:
IConverter
- Converts the given
String
value
- Parameters:
value
- The string value to convertlocale
- The locale used to convert the value
- Returns:
- The converted value
- See Also:
IConverter.convertToObject(String, java.util.Locale)
getTargetType
protected Class<Double> getTargetType()
- Specified by:
getTargetType
in class AbstractConverter<Double>
- Returns:
- The target type of this type converter
- See Also:
AbstractConverter.getTargetType()
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.