Uses of Interface freemarker.ext.util.ModelFactory (FreeMarker 2.3.23 API)
Date: 2015-07-05

## Uses of Interface
freemarker.ext.util.ModelFactory

- Packages that use ModelFactory
  Package | Description
  --- | ---
  freemarker.ext.beans | The `default object wrapper` of FreeMarker uses this to expose Java Beans and POJO-s to templates, but it can also be used in itself as a better alternative `ObjectWrapper`.
  freemarker.ext.rhino | Exposes Rhino (ECMAScript) objects to templates.

- - ### Uses of ModelFactory in freemarker.ext.beans

    Methods in freemarker.ext.beans that return ModelFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected ModelFactory` | BeansWrapper.`getModelFactory(Class clazz)`

    Methods in freemarker.ext.beans with parameters of type ModelFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected TemplateModel` | BeansWrapper.`getInstance(Object object, ModelFactory factory)` Deprecated. override `BeansWrapper.getModelFactory(Class)` instead. Using this method will now bypass wrapper caching (if it's enabled) and always result in creation of a new wrapper. This method will be removed in 2.4

  - ### Uses of ModelFactory in freemarker.ext.rhino

    Methods in freemarker.ext.rhino that return ModelFactory
    Modifier and Type | Method and Description
    --- | ---
    `protected ModelFactory` | RhinoWrapper.`getModelFactory(Class clazz)`