public class ChainedConverterConfiguration.ChainedObjectMarshaller<C extends Converter> extends java.lang.Object implements ObjectMarshaller<C>
| Constructor and Description |
|---|
ChainedConverterConfiguration.ChainedObjectMarshaller(ObjectMarshaller<C> om,
ChainedConverterConfiguration.ChainedObjectMarshaller<C> next) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public ChainedConverterConfiguration.ChainedObjectMarshaller(ObjectMarshaller<C> om, ChainedConverterConfiguration.ChainedObjectMarshaller<C> next)
public ObjectMarshaller<C> findMarhallerFor(java.lang.Object o)
public boolean supports(java.lang.Object object)
ObjectMarshallersupports in interface ObjectMarshaller<C extends Converter>object - the object which is about getting convertedtrue if the marshaller can/should perform the marshalling, false otherwisepublic void marshalObject(java.lang.Object object,
C converter)
throws ConverterException
ObjectMarshallermarshalObject in interface ObjectMarshaller<C extends Converter>object - the object which is about getting convertedconverter - the Converter to useConverterException - on failure