Class DefaultEnumerationAdapter

java.lang.Object
freemarker.template.WrappingTemplateModel
freemarker.template.DefaultEnumerationAdapter
All Implemented Interfaces:
WrapperTemplateModel, AdapterTemplateModel, TemplateCollectionModel, TemplateModel, TemplateModelWithAPISupport, Serializable

Adapts an Enumeration to the corresponding TemplateModel interface(s), most importantly to TemplateCollectionModel. Putting aside that it wraps an Enumeration instead of an Iterator, this is identical to DefaultIteratorAdapter, so see further details there.
Since:
2.3.26
See Also:
Serialized Form