public class AttachmentSerializationHandler extends Object implements FormDataSerializationHandler
| Constructor and Description | 
|---|
AttachmentSerializationHandler(AttachmentsHelper attachmentsHelper,
                              com.edorasware.commons.core.content.ContentManager contentManager)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
accept(Object value)
Returns whether the given value can be handled or not. 
 | 
Object | 
process(Object value)
Processes the given value and returns the resulting serialized value. 
 | 
public AttachmentSerializationHandler(AttachmentsHelper attachmentsHelper, com.edorasware.commons.core.content.ContentManager contentManager)
public boolean accept(Object value)
FormDataSerializationHandlerReturns whether the given value can be handled or not.
accept in interface FormDataSerializationHandlervalue - the value to decide on whether it can be handledpublic Object process(Object value)
FormDataSerializationHandlerProcesses the given value and returns the resulting serialized value.
process in interface FormDataSerializationHandlervalue - the value to processCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.