O - is the generic type of the object to
format.@ComponentSpecification(plugin=true) public interface NlsFormatterPlugin<O> extends NlsFormatter<O>
NlsFormatter with the methods required to register this automatically as
plugin via injection. 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.| Modifier and Type | Method and Description |
|---|---|
String |
getStyle()
This method gets the
style of this formatter. |
String |
getType()
This method gets the
type of
this formatter. |
format, formatString 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.Copyright © 2001–2016 mmm-Team. All rights reserved.