Uses of Interface freemarker.template.TemplateMethodModelEx (FreeMarker 2.3.23 API)
Date: 2015-07-05

## Uses of Interface
freemarker.template.TemplateMethodModelEx

- Packages that use TemplateMethodModelEx
  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.jython | Exposes Jython objects to templates.
  freemarker.ext.rhino | Exposes Rhino (ECMAScript) objects to templates.
  freemarker.template.utility | Various classes used by core FreeMarker code but might be useful outside of it too.

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

    Classes in freemarker.ext.beans that implement TemplateMethodModelEx
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MapModel` A special case of `BeanModel` that adds implementation for `TemplateMethodModelEx` on map objects that is a shortcut for the `Map.get()` method.
    `class` | `OverloadedMethodsModel` Wraps a set of same-name overloaded methods behind `TemplateMethodModel` interface, like if it was a single method, chooses among them behind the scenes on call-time based on the argument values.
    `class` | `ResourceBundleModel` A hash model that wraps a resource bundle.
    `class` | `SimpleMapModel` Model used by `BeansWrapper` when `simpleMapWrapper` mode is enabled.
    `class` | `SimpleMethodModel` A class that will wrap a reflected method call into a `TemplateMethodModel` interface.

    Methods in freemarker.ext.beans that return TemplateMethodModelEx
    Modifier and Type | Method and Description
    --- | ---
    `TemplateMethodModelEx` | BeansWrapper.`wrap(Object object, Method method)` Wraps a Java method so that it can be called from templates, without wrapping its parent ("this") object.

  - ### Uses of TemplateMethodModelEx in freemarker.ext.jython

    Classes in freemarker.ext.jython that implement TemplateMethodModelEx
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JythonHashModel` Model for Jython dictionaries (`PyDictionary` and `PyStringMap`).
    `class` | `JythonModel` Generic model for arbitrary Jython objects.
    `class` | `JythonNumberModel` Model for Jython numeric objects (`PyInteger`, `PyLong`, `PyFloat`).
    `class` | `JythonSequenceModel` Model for Jython sequence objects (`PySequence` descendants).

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

    Classes in freemarker.ext.rhino that implement TemplateMethodModelEx
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RhinoFunctionModel`

  - ### Uses of TemplateMethodModelEx in freemarker.template.utility

    Classes in freemarker.template.utility that implement TemplateMethodModelEx
    Modifier and Type | Class and Description
    --- | ---
    `class` | `ObjectConstructor` An object that you can make available in a template to instantiate arbitrary beans-wrapped objects in a template.