Module org.apache.wicket.util
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
,IConverter<Double>
,IClusterable
Converts from Object to Double.
- Author:
- Eelco Hillenius, Jonathan Locke
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final IConverter<Double>
The singleton instance for a double converter -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToObject
(String value, Locale locale) Converts the givenString
valueMethods inherited from class org.apache.wicket.util.convert.converter.AbstractDecimalConverter
newNumberFormat
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractNumberConverter
convertToString, getNumberFormat, parse
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
newConversionException, parse
-
Field Details
-
INSTANCE
The singleton instance for a double converter
-
-
Constructor Details
-
DoubleConverter
public DoubleConverter()
-
-
Method Details
-
convertToObject
Description copied from interface:IConverter
Converts the givenString
value- Parameters:
value
- The string value to convertlocale
- The locale used to convert the value- Returns:
- The converted value
- See Also:
-
getTargetType
- Specified by:
getTargetType
in classAbstractConverter<Double>
- Returns:
- The target type of this type converter
- See Also:
-