|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
O - is the generic type of the object to
format.@ComponentSpecification(plugin=true) public interface NlsFormatterPlugin<O>
This interface extends NlsFormatter with the methods required to
register this automatically as plugin via injection.
All subclasses annotated with @Named will
automatically be registered. If no NlsFormatterPlugin with default
style (null) is found for some
type the one with medium style is used as default.
| Method Summary | |
|---|---|
String |
getStyle()
This method gets the style of this formatter. |
String |
getType()
This method gets the type of this formatter. |
| Methods inherited from interface net.sf.mmm.util.nls.api.NlsFormatter |
|---|
format, format |
| Method Detail |
|---|
String getType()
type of this formatter. See TYPE_* constants of
NlsFormatterManager e.g.
NlsFormatterManager.TYPE_NUMBER.
null for the
default formatter. If type is null then also
style needs to be null.String getStyle()
style of this formatter. See STYLE_* constants of
NlsFormatterManager e.g.
NlsFormatterManager.STYLE_LONG.
null for no style.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||