Class BigDecimalConverter
- 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<BigDecimal>
-
- org.apache.wicket.util.convert.converter.BigDecimalConverter
-
- All Implemented Interfaces:
Serializable
,IConverter<BigDecimal>
,IClusterable
public class BigDecimalConverter extends AbstractDecimalConverter<BigDecimal>
BigDecimal converter- See Also:
IConverter
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BigDecimalConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
convertToObject(String value, Locale locale)
Converts the givenString
valueprotected Class<BigDecimal>
getTargetType()
-
Methods 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
-
-
-
-
Constructor Detail
-
BigDecimalConverter
public BigDecimalConverter()
-
-
Method Detail
-
getTargetType
protected Class<BigDecimal> getTargetType()
- Specified by:
getTargetType
in classAbstractConverter<BigDecimal>
- Returns:
- The target type of this type converter
-
convertToObject
public BigDecimal convertToObject(String value, Locale locale)
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
-
-