org.apache.wicket.util.convert.converter
Class BigDecimalConverter

java.lang.Object
  extended by org.apache.wicket.util.convert.converter.AbstractConverter<N>
      extended by org.apache.wicket.util.convert.converter.AbstractNumberConverter<N>
          extended by org.apache.wicket.util.convert.converter.AbstractDecimalConverter<java.math.BigDecimal>
              extended by org.apache.wicket.util.convert.converter.BigDecimalConverter
All Implemented Interfaces:
java.io.Serializable, IClusterable, IConverter<java.math.BigDecimal>

public class BigDecimalConverter
extends AbstractDecimalConverter<java.math.BigDecimal>

BigDecimal converter see IConverter

See Also:
Serialized Form

Constructor Summary
BigDecimalConverter()
           
 
Method Summary
 java.math.BigDecimal convertToObject(java.lang.String value, java.util.Locale locale)
          Converts the given String value
protected  java.lang.Class<java.math.BigDecimal> getTargetType()
           
 
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractDecimalConverter
getNumberFormat, newNumberFormat, setNumberFormat
 
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractNumberConverter
convertToString, parse
 
Methods inherited from class org.apache.wicket.util.convert.converter.AbstractConverter
newConversionException, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BigDecimalConverter

public BigDecimalConverter()
Method Detail

getTargetType

protected java.lang.Class<java.math.BigDecimal> getTargetType()
Specified by:
getTargetType in class AbstractConverter<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: IConverter
Converts the given String value

Parameters:
value - The string value to convert
locale - The locale used to convert the value
Returns:
The converted value


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