Interface TransformationSourceOptions.TransformationSourceOptionsSerializer
- All Known Implementing Classes:
CropSourceOptions.CropSourceOptionsSerializer,PagedSourceOptions.PagedSourceOptionsSerializer,TemporalSourceOptions.TemporalSourceOptionsSerializer
- Enclosing interface:
- TransformationSourceOptions
@AlfrescoPublicApi
public static interface TransformationSourceOptions.TransformationSourceOptionsSerializer
Defines methods for serializing the source options into a parameter map and
deserializing from a serialized options accessor.
This is primarily used when interacting with the RenditionService
with AbstractRenderingEngine's RenderContext being an implementer
of this interface.
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(SerializedTransformationOptionsAccessor serializedOptions) Gets the parameters from the serialized options accessor and builds a source options object.voidserialize(TransformationSourceOptions transformationSourceOptions, Map<String, Serializable> parameters) Serializes the given transformation source options into the given parameter map.
-
Method Details
-
serialize
void serialize(TransformationSourceOptions transformationSourceOptions, Map<String, Serializable> parameters) Serializes the given transformation source options into the given parameter map.- Parameters:
transformationSourceOptions- TransformationSourceOptions
-
deserialize
Gets the parameters from the serialized options accessor and builds a source options object.- Parameters:
serializedOptions- SerializedTransformationOptionsAccessor- Returns:
- the deserialized source options
-