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<java.math.BigDecimal>
-
- org.apache.wicket.util.convert.converter.BigDecimalConverter
-
- All Implemented Interfaces:
java.io.Serializable,IConverter<java.math.BigDecimal>,IClusterable
public class BigDecimalConverter extends AbstractDecimalConverter<java.math.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 java.math.BigDecimalconvertToObject(java.lang.String value, java.util.Locale locale)Converts the givenStringvalueprotected java.lang.Class<java.math.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
-
-
-
-
Method Detail
-
getTargetType
protected java.lang.Class<java.math.BigDecimal> getTargetType()
- Specified by:
getTargetTypein classAbstractConverter<java.math.BigDecimal>- Returns:
- The target type of this type converter
-
convertToObject
public java.math.BigDecimal convertToObject(java.lang.String value, java.util.Locale locale)Description copied from interface:IConverterConverts the givenStringvalue- Parameters:
value- The string value to convertlocale- The locale used to convert the value- Returns:
- The converted value
-
-