freemarker.template

Class SimpleList

Implemented Interfaces:
Serializable, TemplateModel, TemplateSequenceModel

public class SimpleList
extends SimpleSequence

This is a trivial subclass that exists for backward compatibility with the SimpleList from FreeMarker Classic.

This class is thread-safe.

See Also:
SimpleSequence

Field Summary

Fields inherited from class freemarker.template.SimpleSequence

list

Fields inherited from interface freemarker.template.TemplateModel

NOTHING

Constructor Summary

SimpleList()
Constructs an empty simple sequence that will use the the default object wrapper set in WrappingTemplateModel.setDefaultObjectWrapper(ObjectWrapper).
SimpleList(java.util.List list)

Method Summary

Methods inherited from class freemarker.template.SimpleSequence

add, add, get, size, synchronizedWrapper, toList, toString

Methods inherited from class freemarker.template.WrappingTemplateModel

getDefaultObjectWrapper, getObjectWrapper, setDefaultObjectWrapper, setObjectWrapper, wrap

Constructor Details

SimpleList

public SimpleList()

SimpleList

public SimpleList(java.util.List list)