Package: org.grails.web.converters.marshaller

## [Java] Class ClosureObjectMarshaller<T extends Converter>

- org.grails.web.converters.marshaller.ClosureObjectMarshaller

- All Implemented Interfaces and Traits:
    ObjectMarshaller

      @java.lang.SuppressWarnings("rawtypes")
      public class ClosureObjectMarshaller
      extends java.lang.Object

  ObjectMarshaller that delegates the conversion logic to the supplied closure

  Authors:
    Siegfried Puchbauer
  Since:
    1.1

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ClosureObjectMarshaller (java.lang.Class<?> clazz, groovy.lang.Closure closure)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `void` | `marshalObject(java.lang.Object object, T converter)`
    `` | `boolean` | `supports(java.lang.Object object)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `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()`

- - ### Constructor Detail

    - #### public ClosureObjectMarshaller(java.lang.Class<?> clazz, groovy.lang.Closure closure)

  - ### Method Detail

    - #### public void marshalObject(java.lang.Object object, T converter)

    - #### public boolean supports(java.lang.Object object)