T
- the type of data the formatter is intended to handlepublic static interface XTemplates.Formatter<T>
XTemplates.FormatterFactories
.Modifier and Type | Method and Description |
---|---|
String |
format(T data)
Formats the given data so it can be drawn in the template as a plain string.
|
String format(T data)
data
- the parameter passed in from the template. Will never be null unless XTemplates.FormatterFactory.acceptsNull()
is trueCopyright © 2020. All rights reserved.