|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FormatterFactory
creates and initialize a formatter for a given type
Method Summary | |
---|---|
FormatterFactory |
addFormatterConfig(Class<?> type,
GenericConfig formatterConfig)
allows to add a config for formatting the given type |
FormatterFactory |
addFormatterConfig(Class<?> type,
GenericConfig formatterConfig,
Locale locale)
allows to add a config for formatting the given type |
Formatter |
findFormatter(Class<?> type)
|
GenericConfig |
findFormatterConfig(Class<?> type,
Locale locale)
|
Methods inherited from interface org.apache.myfaces.extensions.cdi.message.api.ConfigRegistry |
---|
add, reset |
Method Detail |
---|
Formatter findFormatter(Class<?> type)
type
- the type of the instance which has to be formatted
FormatterFactory addFormatterConfig(Class<?> type, GenericConfig formatterConfig)
type
- the type the config belongs toformatterConfig
- config for the formatter of the given type
FormatterFactory addFormatterConfig(Class<?> type, GenericConfig formatterConfig, Locale locale)
type
- the type the config belongs toformatterConfig
- config for the formatter of the given typelocale
- the locale the config belongs to
GenericConfig findFormatterConfig(Class<?> type, Locale locale)
type
- the type which has to be formatted and maybe need a config for itlocale
- the current locale
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |