org.stringtemplate.v4
Interface AttributeRenderer
- All Known Implementing Classes:
- DateRenderer, NumberRenderer, StringRenderer
public interface AttributeRenderer
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 toString().
formatString can be null but locale will at least be Locale.getDefault()
toString
String toString(Object o,
String formatString,
Locale locale)
Copyright © 2011. All Rights Reserved.