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

## Uses of Interface
freemarker.template.TemplateScalarModel

- Packages that use TemplateScalarModel
  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.jdom | Deprecated, use W3C DOM (`freemarker.ext.dom`) instead; Exposes JDOM XML nodes to templates.
  freemarker.ext.jython | Exposes Jython objects to templates.
  freemarker.ext.rhino | Exposes Rhino (ECMAScript) objects to templates.
  freemarker.template | The fundamental, most commonly used API-s of FreeMarker; start with `Configuration` (see also the Getting Stared in the Manual.)
  freemarker.template.utility | Various classes used by core FreeMarker code but might be useful outside of it too.

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

    Classes in freemarker.ext.beans that implement TemplateScalarModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CollectionModel` A special case of `BeanModel` that can wrap Java collections and that implements the `TemplateCollectionModel` in order to be usable in a `<#list>` block.
    `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` | `StringModel` Subclass of `BeanModel` that exposes the return value of the `Object.toString()` method through the `TemplateScalarModel` interface.

  - ### Uses of TemplateScalarModel in freemarker.ext.jdom

    Classes in freemarker.ext.jdom that implement TemplateScalarModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `NodeListModel` Deprecated. Use `NodeModel` instead.

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

    Classes in freemarker.ext.jython that implement TemplateScalarModel
    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 TemplateScalarModel in freemarker.ext.rhino

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

  - ### Uses of TemplateScalarModel in freemarker.template

    Classes in freemarker.template that implement TemplateScalarModel
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LocalizedString` An abstract base class for scalars that vary by locale.
    `class` | `ResourceBundleLocalizedString` A concrete implementation of `LocalizedString` that gets a localized string from a `ResourceBundle`
    `class` | `SimpleScalar` A simple implementation of the `TemplateScalarModel` interface, using a `String`.

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

    Fields in freemarker.template.utility declared as TemplateScalarModel
    Modifier and Type | Field and Description
    --- | ---
    `static TemplateScalarModel` | Constants.`EMPTY_STRING`