Class AbstractIntegerConverter<I extends Number>
- java.lang.Object
-
- org.apache.wicket.util.convert.converter.AbstractConverter<N>
-
- org.apache.wicket.util.convert.converter.AbstractNumberConverter<I>
-
- org.apache.wicket.util.convert.converter.AbstractIntegerConverter<I>
-
- Type Parameters:
I
-
- All Implemented Interfaces:
Serializable
,IConverter<I>
,IClusterable
- Direct Known Subclasses:
BigIntegerConverter
,ByteConverter
,IntegerConverter
,LongConverter
,ShortConverter
public abstract class AbstractIntegerConverter<I extends Number> extends AbstractNumberConverter<I>
Base class for all converters of integer numbers.- Author:
- Jonathan Locke
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractIntegerConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected NumberFormat
newNumberFormat(Locale locale)
Creates a newNumberFormat
for the given locale.-
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
getTargetType, newConversionException, parse
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.util.convert.IConverter
convertToObject
-
-
-
-
Constructor Detail
-
AbstractIntegerConverter
public AbstractIntegerConverter()
-
-
Method Detail
-
newNumberFormat
protected NumberFormat newNumberFormat(Locale locale)
Description copied from class:AbstractNumberConverter
Creates a newNumberFormat
for the given locale. The instance is later cached and is accessible throughAbstractNumberConverter.getNumberFormat(Locale)
- Specified by:
newNumberFormat
in classAbstractNumberConverter<I extends Number>
- Returns:
- number format
-
-