Class FormArchivePreprocessor
- java.lang.Object
-
- com.avoka.fc.core.service.composer.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 Summary
Constructors Constructor Description FormArchivePreprocessor()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FormArchive
renderPreprocess(FormArchive formArchive, boolean maestroSCEMode, Map properties, String resourcesContext)
Return a new FormArchive with render preprocessing performed using the given rendering options and static resources context path.
-
-
-
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 preprocessmaestroSCEMode
- whether in maestro SCE modeproperties
- the render optionsresourcesContext
- the static resources context path- Returns:
- an new FormArchive with rendering preprocessing performed
- Throws:
IOException
- if an error occurs
-
-