DefaultRendererRegistry (Grails 3.2.3)
Date: 2016-11-10

Package: org.grails.plugins.web.rest.render

## [Groovy] Class DefaultRendererRegistry

- org.grails.plugins.web.rest.render.DefaultRendererRegistry

- All Implemented Interfaces and Traits:
    RendererRegistry

      @groovy.transform.CompileStatic
      class DefaultRendererRegistry
      extends ClassAndMimeTypeRegistry

  Default implementation of the RendererRegistry interface

  Authors:
    Graeme Rocher
  Since:
    2.3

- - ### Nested Class Summary

    Nested classes
    Modifiers | Name | Description
    --- | --- | ---
    `class` | `DefaultRendererRegistry.ContainerRendererCacheKey` |
    `class` | `DefaultRendererRegistry.RendererCacheKey` |

  - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `GrailsConventionGroovyPageLocator` | `groovyPageLocator`
    `java.lang.String` | `modelSuffix`
    `ProxyHandler` | `proxyHandler`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `DefaultRendererRegistry ()`

  - ### Methods Summary

    Methods
    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)`

  - ### Inherited Methods Summary

    Inherited Methods
    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()`

- - ### Property Detail

    - #### @org.springframework.beans.factory.annotation.Autowired(required = false) GrailsConventionGroovyPageLocator groovyPageLocator

    - #### java.lang.String modelSuffix

    - #### @org.springframework.beans.factory.annotation.Autowired(required = false) ProxyHandler proxyHandler

  - ### Constructor Detail

    - #### DefaultRendererRegistry()

  - ### Method Detail

    - #### @java.lang.Override void addContainerRenderer(java.lang.Class objectType, Renderer renderer)

    - #### @java.lang.Override void addDefaultRenderer(Renderer<java.lang.Object> renderer)

    - #### @java.lang.Override void addRenderer(Renderer<T> renderer)

    - #### @java.lang.Override DefaultRendererRegistry.RendererCacheKey createCacheKey(java.lang.Class type, MimeType mimeType)

    - #### @java.lang.Override Renderer<C> findContainerRenderer(MimeType mimeType, java.lang.Class<C> containerType, T object)

    - #### @java.lang.Override Renderer<T> findRenderer(MimeType mimeType, T object)

    - #### protected java.lang.Class<? extends java.lang.Object> getTargetClassForContainer(java.lang.Class containerClass, java.lang.Object object)

    - #### @javax.annotation.PostConstruct void initialize()

    - #### @java.lang.Override boolean isContainerType(java.lang.Class<?> aClass)

    - #### @org.springframework.beans.factory.annotation.Autowired(required = false) void setRenderers(Renderer[] renderers)