Interface TemplateSerializer

  • All Known Implementing Classes:
    XMLTemplateSerializer

    public interface TemplateSerializer
    This class contains the Serialization/Deserialization logic.

    TemplateInput parameters are stored in the DocumentModel as a single String Property via XML Serialization.

    Since:
    11.1
    Author:
    Tiry (tdelprat@nuxeo.com), bjalon (bjalon@qastia.com)
    • Method Detail

      • deserialize

        List<TemplateInputdeserialize​(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 of TemplateSerializerService
        Parameters:
        content - String containing a list of fields' description serialized
        Returns:
        the serialized content