public interface NamedRenderer
Renderer,
RenderFormatInfo| Modifier and Type | Method and Description |
|---|---|
RenderFormatInfo |
getFormatInfo()
Gives information about what can be passed as a format parameter to the
#render(Object, String) method. |
String |
getName()
Gets the name of the renderer.
|
Class<?>[] |
getSupportedClasses()
Returns which classes are support by this renderer, i.e. which ones you
can pass to the
#render(Object, String) method. |
String |
render(Object o,
String format,
Locale locale,
Map<String,Object> model)
Renders an object of a type supported by the renderer.
|
String render(Object o, String format, Locale locale, Map<String,Object> model)
o - the object to renderformat - anything that tells the renderer how to do its worklocale - the locale used in transformationString getName()
RenderFormatInfo getFormatInfo()
#render(Object, String) method.Class<?>[] getSupportedClasses()
#render(Object, String) method.Copyright © 2017. All rights reserved.