Deprecated API


Contents
Deprecated Interfaces
freemarker.template.TemplateListModel
          This interface is not multi-thread safe, and also, in some cases, not single-thread safe either. Use the TemplateListModel2 interface instead. 
 

Deprecated Classes
freemarker.ext.beans.ArrayModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.BeansWrapper
          this class is deprecated in favour of the Wrapper and Unwrapper classes 
freemarker.ext.beans.CollectionModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.EnumerationModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.IteratorModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.ListModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.MapModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.MethodModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.Models
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.NumberModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.ObjectModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.ObjectModelBase
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.ResourceBundleModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.RootMapModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.ScalarModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.SimpleNumberModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.StaticModel
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
freemarker.ext.beans.StaticModels
          this class is deprecated in favour of the classes in the freemarker.ext.beans2 package 
 

Deprecated Methods
freemarker.template.BinaryData.compileFromFile(File)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.AbstractTemplate.compileFromFile(File)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromFile(String)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.AbstractTemplate.compileFromFile(String)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.Compileable.compileFromStream(InputStream)
          use the Compileable.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromStream(InputStream)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.AbstractTemplate.compileFromStream(InputStream)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.Compileable.compileFromStream(InputStream, String)
          use the Compileable.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.BinaryData.compileFromStream(InputStream, String)
          Use the BinaryData.compile(freemarker.template.InputSource) method instead 
freemarker.template.AbstractTemplate.compileFromStream(InputStream, String)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.AbstractTemplate.compileFromStream(Reader)
          use the AbstractTemplate.compile(freemarker.template.InputSource) method to supply source streams to the template compiler 
freemarker.template.TemplateExceptionEvent.getOutput()
          use the TemplateExceptionEvent.getWriter() method for maximum efficiency, since this method now has to wrap the underlying Writer in a PrintWriter object 
 

Deprecated Constructors
freemarker.template.AbstractTemplate(File)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.AbstractTemplate(InputStream)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.AbstractTemplate(Reader)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.AbstractTemplate(String)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.BinaryData(File)
          Use the InputSource constructor instead 
freemarker.template.BinaryData(InputStream)
          Use the InputSource constructor instead 
freemarker.template.BinaryData(String)
          Use the InputSource constructor instead 
freemarker.template.HtmlExceptionListener()
          use the HtmlExceptionListener.getInstance() method instead 
freemarker.template.compiler.StandardTemplateParser(FunctionTemplateProcessor, String)
          use InputSources to pass in the text to be compiled where possible 
freemarker.template.Template(File)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.Template(InputStream)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.Template(Reader)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.Template(String)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(File)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(InputStream)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(Reader)
          use the InputSource contructor to supply source streams to the template compiler 
freemarker.template.UnparsedTemplate(String)
          use the InputSource contructor to supply source streams to the template compiler