|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.binding.format.AbstractNumberFormatFactory
public abstract class AbstractNumberFormatFactory
Base class suitable for subclassing by most NumberFormatFactory implementations.
| Constructor Summary | |
|---|---|
AbstractNumberFormatFactory()
|
|
| Method Summary | |
|---|---|
java.util.Locale |
getLocale()
The locale to use in formatting number values. |
java.text.NumberFormat |
getNumberFormat()
Factory method that returns a fully-configured NumberFormat instance to use to format an object for
display. |
protected abstract java.text.NumberFormat |
getNumberFormat(java.util.Locale locale)
Subclasses should override to create the new NumberFormat instance. |
void |
setLocale(java.util.Locale locale)
Sets the locale to use in formatting number values. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractNumberFormatFactory()
| Method Detail |
|---|
public java.util.Locale getLocale()
LocaleContextHolder.getLocale()public void setLocale(java.util.Locale locale)
locale - the localepublic final java.text.NumberFormat getNumberFormat()
NumberFormatFactoryNumberFormat instance to use to format an object for
display.
getNumberFormat in interface NumberFormatFactoryprotected abstract java.text.NumberFormat getNumberFormat(java.util.Locale locale)
locale - the locale to use
|
Spring Web Flow | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||