|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
T - the type of data the formatter is intended to handlepublic static interface XTemplates.Formatter<T>
A simple interface to facilitate creation of custom formatters. Instances should be created
by a static factory method, as defined by XTemplates.FormatterFactories.
| Method Summary | |
|---|---|
String |
format(T data)
Formats the given data so it can be drawn in the template as a plain string. |
| Method Detail |
|---|
String format(T data)
data - the parameter passed in from the template. Will never be null unless XTemplates.FormatterFactory.acceptsNull() is true
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||