Spring Web Flow

org.springframework.binding.format
Class IntegerNumberFormatFactory

java.lang.Object
  extended by org.springframework.binding.format.AbstractNumberFormatFactory
      extended by org.springframework.binding.format.IntegerNumberFormatFactory
All Implemented Interfaces:
NumberFormatFactory

public class IntegerNumberFormatFactory
extends AbstractNumberFormatFactory

Produces NumberFormat instances that format integer values.

Author:
Keith Donald
See Also:
NumberFormat

Constructor Summary
IntegerNumberFormatFactory()
           
 
Method Summary
protected  java.text.NumberFormat getNumberFormat(java.util.Locale locale)
          Subclasses should override to create the new NumberFormat instance.
 
Methods inherited from class org.springframework.binding.format.AbstractNumberFormatFactory
getLocale, getNumberFormat, setLocale
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegerNumberFormatFactory

public IntegerNumberFormatFactory()
Method Detail

getNumberFormat

protected java.text.NumberFormat getNumberFormat(java.util.Locale locale)
Description copied from class: AbstractNumberFormatFactory
Subclasses should override to create the new NumberFormat instance.

Specified by:
getNumberFormat in class AbstractNumberFormatFactory
Parameters:
locale - the locale to use
Returns:
the number format

Spring Web Flow