Interface TemplateSerializer
-
- All Known Implementing Classes:
XMLTemplateSerializer
public interface TemplateSerializer
This class contains the Serialization/Deserialization logic.TemplateInput
parameters are stored in theDocumentModel
as a single String Property via XML Serialization.- Since:
- 11.1
- Author:
- Tiry ([email protected]), bjalon ([email protected])
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<TemplateInput>
deserialize(String content)
Transform String to a List of TemplateInput.String
serialize(List<TemplateInput> params)
Transform the List of TemplateInput to String.
-
-
-
Method Detail
-
deserialize
List<TemplateInput> deserialize(String content)
Transform String to a List of TemplateInput. TemplateInput represent a field that will be finally added into the context of the file rendition. Please for more information look the documentation ofTemplateSerializerService
- Parameters:
content
- String containing a list of fields' description serialized- Returns:
- the serialized content
-
serialize
String serialize(List<TemplateInput> params)
Transform the List of TemplateInput to String. Used to store a rendition context in the Document TemplateBased. Please for more information look the documentation ofTemplateSerializerService
-
-