Interface TransformationSourceOptions.TransformationSourceOptionsSerializer
-
- All Known Implementing Classes:
CropSourceOptions.CropSourceOptionsSerializer,PagedSourceOptions.PagedSourceOptionsSerializer,TemporalSourceOptions.TemporalSourceOptionsSerializer
- Enclosing interface:
- TransformationSourceOptions
@AlfrescoPublicApi public static interface TransformationSourceOptions.TransformationSourceOptionsSerializerDefines 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
RenditionServicewithAbstractRenderingEngine's RenderContext being an implementer of this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransformationSourceOptionsdeserialize(SerializedTransformationOptionsAccessor serializedOptions)Gets the parameters from the serialized options accessor and builds a source options object.voidserialize(TransformationSourceOptions transformationSourceOptions, java.util.Map<java.lang.String,java.io.Serializable> parameters)Serializes the given transformation source options into the given parameter map.
-
-
-
Method Detail
-
serialize
void serialize(TransformationSourceOptions transformationSourceOptions, java.util.Map<java.lang.String,java.io.Serializable> parameters)
Serializes the given transformation source options into the given parameter map.- Parameters:
transformationSourceOptions- TransformationSourceOptions
-
deserialize
TransformationSourceOptions deserialize(SerializedTransformationOptionsAccessor serializedOptions)
Gets the parameters from the serialized options accessor and builds a source options object.- Parameters:
serializedOptions- SerializedTransformationOptionsAccessor- Returns:
- the deserialized source options
-
-