Uses of Interface
freemarker.template.TemplateScalarModel
Packages that use TemplateScalarModel
Package
Description
The seldom used or advanced parts of the fundamental FreeMarker API, compared to
freemarker.template
.The default object wrapper of FreeMarker uses
this to expose Java Beans and POJO-s to templates.
Deprecated, use W3C DOM (
freemarker.ext.dom
) instead;
Exposes JDOM XML nodes to templates.Exposes Jython objects to templates.
Exposes Rhino (ECMAScript) objects to templates.
Deprecated, use W3C DOM with
freemarker.ext.dom
instead;
Exposes XML from DOM, dom4j or JDOM nodes, uniformly.The fundamental, most commonly used API-s of FreeMarker;
start with
Configuration
(see also the
Getting Started in the Manual.)Various classes used by core FreeMarker code but might be useful outside of it too.
-
Uses of TemplateScalarModel in freemarker.core
Methods in freemarker.core that return TemplateScalarModelModifier and TypeMethodDescriptionDefaultTruncateBuiltinAlgorithm.truncate
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) abstract TemplateScalarModel
TruncateBuiltinAlgorithm.truncate
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) Corresponds to?truncate(...)
in templates.DefaultTruncateBuiltinAlgorithm.truncateC
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) abstract TemplateScalarModel
TruncateBuiltinAlgorithm.truncateC
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) Corresponds to?truncate_c_m(...)
in templates.DefaultTruncateBuiltinAlgorithm.truncateW
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) abstract TemplateScalarModel
TruncateBuiltinAlgorithm.truncateW
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) Corresponds to?truncate_w(...)
in templates.Methods in freemarker.core with parameters of type TemplateScalarModelModifier and TypeMethodDescriptionDefaultTruncateBuiltinAlgorithm.truncate
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) abstract TemplateScalarModel
TruncateBuiltinAlgorithm.truncate
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) Corresponds to?truncate(...)
in templates.DefaultTruncateBuiltinAlgorithm.truncateC
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) abstract TemplateScalarModel
TruncateBuiltinAlgorithm.truncateC
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) Corresponds to?truncate_c_m(...)
in templates.DefaultTruncateBuiltinAlgorithm.truncateW
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) abstract TemplateScalarModel
TruncateBuiltinAlgorithm.truncateW
(String s, int maxLength, TemplateScalarModel terminator, Integer terminatorLength, Environment env) Corresponds to?truncate_w(...)
in templates. -
Uses of TemplateScalarModel in freemarker.ext.beans
Classes in freemarker.ext.beans that implement TemplateScalarModelModifier and TypeClassDescriptionclass
A special case ofBeanModel
that can wrap Java collections and that implements theTemplateCollectionModel
in order to be usable in a <#list> block.class
A special case ofBeanModel
that adds implementation forTemplateMethodModelEx
on map objects that is a shortcut for the Map.get() method.class
Subclass ofBeanModel
that exposes the return value of theObject.toString()
method through theTemplateScalarModel
interface. -
Uses of TemplateScalarModel in freemarker.ext.jdom
Classes in freemarker.ext.jdom that implement TemplateScalarModel -
Uses of TemplateScalarModel in freemarker.ext.jython
Classes in freemarker.ext.jython that implement TemplateScalarModelModifier and TypeClassDescriptionclass
Model for Jython dictionaries (PyDictionary
andPyStringMap
).class
Generic model for arbitrary Jython objects.class
Model for Jython numeric objects (PyInteger
,PyLong
,PyFloat
).class
Model for Jython sequence objects (PySequence
descendants). -
Uses of TemplateScalarModel in freemarker.ext.rhino
Classes in freemarker.ext.rhino that implement TemplateScalarModel -
Uses of TemplateScalarModel in freemarker.ext.xml
Classes in freemarker.ext.xml that implement TemplateScalarModel -
Uses of TemplateScalarModel in freemarker.template
Classes in freemarker.template that implement TemplateScalarModelModifier and TypeClassDescriptionclass
An abstract base class for scalars that vary by locale.class
A concrete implementation ofLocalizedString
that gets a localized string from aResourceBundle
final class
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
NodeModel
instead.