Type | Name and description |
---|---|
void |
addContainerRenderer(java.lang.Class objectType, Renderer renderer) Adds a container renderer |
void |
addDefaultRenderer(Renderer<java.lang.Object> renderer) Adds a default renderer, which are fall backs if the type is not known |
void |
addRenderer(Renderer<T> renderer) Adds a new renderer |
Renderer<C> |
findContainerRenderer(MimeType contentType, java.lang.Class<C> containerType, T object) Finds a renderer for a container (List, Errors, Map etc.) for another object |
Renderer<T> |
findRenderer(MimeType contentType, T object) Finds a renderer |
boolean |
isContainerType(java.lang.Class<?> aClass) Whether the specified class is a container (list, map etc.) |
Adds a container renderer
objectType
- The object typerenderer
- The rendererAdds a default renderer, which are fall backs if the type is not known
renderer
- The renderer to addAdds a new renderer
renderer
- The renderer to addFinds a renderer for a container (List, Errors, Map etc.) for another object
contentType
- The content typecontainerType
- The container typeobject
- The object to render, an instance of the container (list, map etc.)Finds a renderer
contentType
- The content typeobject
- The objectWhether the specified class is a container (list, map etc.)
aClass
- The class