Spring Web Flow

org.springframework.binding.format
Class CurrencyNumberFormatFactory

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

public class CurrencyNumberFormatFactory
extends AbstractNumberFormatFactory

Produces NumberFormat instances that format currency values.

Author:
Keith Donald
See Also:
NumberFormat

Constructor Summary
CurrencyNumberFormatFactory()
           
 
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

CurrencyNumberFormatFactory

public CurrencyNumberFormatFactory()
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