|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.groovy.grails.web.converters.configuration.ChainedConverterConfiguration.ChainedObjectMarshaller<C>
public class ChainedConverterConfiguration.ChainedObjectMarshaller<C extends Converter>
| Constructor Summary | |
|---|---|
ChainedConverterConfiguration.ChainedObjectMarshaller(ObjectMarshaller<C> om,
ChainedConverterConfiguration.ChainedObjectMarshaller<C> next)
|
|
| Method Summary | |
|---|---|
ObjectMarshaller<C> |
findMarhallerFor(java.lang.Object o)
|
void |
marshalObject(java.lang.Object object,
C converter)
Performs the conversion |
boolean |
supports(java.lang.Object object)
Checks wheter the ObjectMarshaller is able/intended to support the given Object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ChainedConverterConfiguration.ChainedObjectMarshaller(ObjectMarshaller<C> om,
ChainedConverterConfiguration.ChainedObjectMarshaller<C> next)
| Method Detail |
|---|
public ObjectMarshaller<C> findMarhallerFor(java.lang.Object o)
public boolean supports(java.lang.Object object)
ObjectMarshaller
supports in interface ObjectMarshaller<C extends Converter>object - the object which is about getting converted
true if the marshaller can/should perform the marshalling, false otherwise
public void marshalObject(java.lang.Object object,
C converter)
throws ConverterException
ObjectMarshaller
marshalObject in interface ObjectMarshaller<C extends Converter>object - the object which is about getting convertedconverter - the Converter to use
ConverterException - on failure
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||