Package org.stringtemplate.v4
Interface AttributeRenderer<T>
- Type Parameters:
T- the type of values this renderer can handle.
- All Known Implementing Classes:
DateRenderer,NumberRenderer,StringRenderer
public interface AttributeRenderer<T>
This interface describes an object that knows how to format or otherwise
render an object appropriately. There is one renderer registered per group
for a given Java type.
If the format string passed to the renderer is not recognized then simply
call Object.toString().
formatString can be null but locale will at least be
Locale.getDefault().
-
Method Summary
-
Method Details
-
toString
-