public class ValidationErrorsMarshaller extends java.lang.Object implements ObjectMarshaller<JSON>, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
ValidationErrorsMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
marshalObject(java.lang.Object object,
JSON json)
Performs the conversion
|
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
boolean |
supports(java.lang.Object object)
Checks wheter the ObjectMarshaller is able/intended to support the given Object
|
public boolean supports(java.lang.Object object)
ObjectMarshallersupports in interface ObjectMarshaller<JSON>object - the object which is about getting convertedtrue if the marshaller can/should perform the marshalling, false otherwisepublic void marshalObject(java.lang.Object object,
JSON json)
throws ConverterException
ObjectMarshallermarshalObject in interface ObjectMarshaller<JSON>object - the object which is about getting convertedjson - the Converter to useConverterException - on failurepublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext in interface org.springframework.context.ApplicationContextAware