Class FreeMarkerUtils

    • Constructor Detail

      • FreeMarkerUtils

        public FreeMarkerUtils()
    • Method Detail

      • getMergedModel

        public static Map<String,​Object> getMergedModel​(ExecutionContext executionContext)
        Get a "merged" model for FreeMarker templating.

        This utility merges the current set of beans being managed by the BeanContext associated with the current ExecutionContext, with the contents of the DOMModel associated with the current ExecutionContext. This is very useful for templating with FreeMarker.

        Parameters:
        executionContext - The current execution context.
        Returns:
        A merged templating model.