@groovy.transform.CompileStatic class DefaultRendererRegistry extends ClassAndMimeTypeRegistry
Default implementation of the RendererRegistry interface
Modifiers | Name | Description |
---|---|---|
class |
DefaultRendererRegistry.ContainerRendererCacheKey |
|
class |
DefaultRendererRegistry.RendererCacheKey |
Type | Name and description |
---|---|
GrailsConventionGroovyPageLocator |
groovyPageLocator |
java.lang.String |
modelSuffix |
ProxyHandler |
proxyHandler |
Constructor and description |
---|
DefaultRendererRegistry
() |
Type | Name and description |
---|---|
void |
addContainerRenderer(java.lang.Class objectType, Renderer renderer) |
void |
addDefaultRenderer(Renderer<java.lang.Object> renderer) |
void |
addRenderer(Renderer<T> renderer) |
DefaultRendererRegistry.RendererCacheKey |
createCacheKey(java.lang.Class type, MimeType mimeType) |
Renderer<C> |
findContainerRenderer(MimeType mimeType, java.lang.Class<C> containerType, T object) |
Renderer<T> |
findRenderer(MimeType mimeType, T object) |
protected java.lang.Class<? extends java.lang.Object> |
getTargetClassForContainer(java.lang.Class containerClass, java.lang.Object object) |
void |
initialize() |
boolean |
isContainerType(java.lang.Class<?> aClass) |
void |
setRenderers(Renderer[] renderers) |
Methods inherited from class | Name |
---|---|
class ClassAndMimeTypeRegistry |
addToRegisteredObjects, createCacheKey, findMatchingObjectForMimeType, findRegisteredObjectForType, getRegisteredObjects, registerDefault, removeFromCache |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Groovy Documentation