org.codehaus.groovy.grails.web.converters.marshaller
[Java] Class ClosureOjectMarshaller
java.lang.Object
org.codehaus.groovy.grails.web.converters.marshaller.ClosureOjectMarshaller
- All Implemented Interfaces:
- ObjectMarshaller
@SuppressWarnings("rawtypes")
public class ClosureOjectMarshaller
extends java.lang.Object
ObjectMarshaller that delegates the conversion logic to the supplied closure
- Authors:
- Siegfried Puchbauer
- Since:
- 1.1
Method Summary |
void
|
marshalObject(java.lang.Object object, java.lang.Object converter)
|
boolean
|
supports(java.lang.Object object)
|
Methods inherited from class java.lang.Object
|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), 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() |
ClosureOjectMarshaller
public ClosureOjectMarshaller(java.lang.Class clazz, groovy.lang.Closure closure)
-
marshalObject
public void marshalObject(java.lang.Object object, java.lang.Object converter)
-
supports
public boolean supports(java.lang.Object object)
-
Groovy Documentation