Class FormArchivePreprocessor


  • public class FormArchivePreprocessor
    extends Object
    Provides a FormArchive rendering preprocessor to optimize the form archive for the given render options and resource context.
    • Constructor Detail

      • FormArchivePreprocessor

        public FormArchivePreprocessor()
    • Method Detail

      • renderPreprocess

        public static FormArchive renderPreprocess​(FormArchive formArchive,
                                                   boolean maestroSCEMode,
                                                   Map properties,
                                                   String resourcesContext)
                                            throws IOException

        Return a new FormArchive with render preprocessing performed using the given rendering options and static resources context path.

        The boolean render preprocessing options:

        • jsRenderMode
        • cssRenderMode
        Parameters:
        formArchive - the FormArchive to preprocess
        maestroSCEMode - whether in maestro SCE mode
        properties - the render options
        resourcesContext - the static resources context path
        Returns:
        an new FormArchive with rendering preprocessing performed
        Throws:
        IOException - if an error occurs