public interface ObjectMarshaller<T extends Converter>
| Modifier and Type | Method and Description |
|---|---|
void |
marshalObject(java.lang.Object object,
T converter)
Performs the conversion
|
boolean |
supports(java.lang.Object object)
Checks wheter the ObjectMarshaller is able/intended to support the given Object
|
boolean supports(java.lang.Object object)
object - the object which is about getting convertedtrue if the marshaller can/should perform the marshalling, false otherwisevoid marshalObject(java.lang.Object object,
T converter)
throws ConverterException
object - the object which is about getting convertedconverter - the Converter to useConverterException - on failure