public class AttachmentSerializationHandler extends Object implements FormDataSerializationHandler
Constructor and Description |
---|
AttachmentSerializationHandler(AttachmentsHelper attachmentsHelper,
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, ContentManager contentManager)
public boolean accept(Object value)
FormDataSerializationHandler
Returns whether the given value can be handled or not.
accept
in interface FormDataSerializationHandler
value
- the value to decide on whether it can be handledpublic Object process(Object value)
FormDataSerializationHandler
Processes the given value and returns the resulting serialized value.
process
in interface FormDataSerializationHandler
value
- the value to processCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.