Package org.smooks.support
Class FreeMarkerUtils
- java.lang.Object
-
- org.smooks.support.FreeMarkerUtils
-
public abstract class FreeMarkerUtils extends Object
FreeMarker utility class.- Author:
- tom.fennelly@jboss.com
-
-
Constructor Summary
Constructors Constructor Description FreeMarkerUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Object>
getMergedModel(ExecutionContext executionContext)
Get a "merged" model for FreeMarker templating.
-
-
-
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 theBeanContext
associated with the currentExecutionContext
, with the contents of theDOMModel
associated with the currentExecutionContext
. This is very useful for templating with FreeMarker.- Parameters:
executionContext
- The current execution context.- Returns:
- A merged templating model.
-
-