@SuppressWarnings("rawtypes") public class ClosureObjectMarshaller<T extends Converter> extends Object implements ObjectMarshaller
ObjectMarshaller that delegates the conversion logic to the supplied closure
Constructor and description |
---|
ClosureObjectMarshaller(Class<?> clazz, Closure closure) |
Type Params | Return Type | Name and description |
---|---|---|
|
public void |
marshalObject(Object object, T converter) |
|
public boolean |
supports(Object object) |