ModelFactory (FreeMarker 2.3.23 API)
Date: 2015-07-05

freemarker.ext.util

## Interface ModelFactory

-     public interface ModelFactory

  Interface used to create various wrapper models in the `ModelCache`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `TemplateModel` | `create(Object object, ObjectWrapper wrapper)` Create a wrapping model for the specified object that belongs to the specified wrapper.

- - ### Method Detail

    - #### create

          TemplateModel create(Object object,
                               ObjectWrapper wrapper)

      Create a wrapping model for the specified object that belongs to the specified wrapper.