-
Interfaces Interface Description freemarker.template.TemplateTransformModel UseTemplateDirectiveModelinstead.
-
Classes Class Description freemarker.template.SimpleList Use SimpleSequence instead.
-
Fields Field Description freemarker.template.TemplateModel.NOTHING Try not to use this.
-
Methods Method Description freemarker.core.Configurable.getSetting(String) This method was always defective, and certainly it always will be. Don't use it. (Simply, it's hardly possible in general to convert setting values to text in a way that ensures thatConfigurable.setSetting(String, String)will work with them correctly.)freemarker.core.Configurable.getSettings() This method was always defective, and certainly it always will be. Don't use it. (Simply, it's hardly possible in general to convert setting values to text in a way that ensures thatConfigurable.setSettings(Properties)will work with them correctly.)freemarker.template.Configuration.getDefaultConfiguration() The usage of the static singleton (the "default")Configurationinstance can easily cause erroneous, unpredictable behavior. This is because multiple independent software components may use FreeMarker internally inside the same application, so they will interfere because of the commonConfigurationinstance. Each such component should use its own privateConfigurationobject instead, that it typically creates withnew Configuration()when the component is initialized.freemarker.template.Configuration.setDefaultConfiguration(Configuration) Using the "default"Configurationinstance can easily lead to erroneous, unpredictable behaviour. See morehere....
-
Constructors Constructor Description freemarker.cache.ClassTemplateLoader() confusing constructor, and seldom useful; useClassTemplateLoader(Class, String)instead.freemarker.template.Template(String, Reader) This constructor uses the "default"Configurationinstance, which can easily lead to erroneous, unpredictable behaviuour. See morehere....