public interface TemplateCollectionModel extends TemplateModel
TemplateSequenceModel
, but it doesn't support indexed (random) access and
its size can't be queried.
They are mostly used in template languages like <#list myCollection as i>...</#list>
.
NOTHING
Modifier and Type | Method and Description |
---|---|
TemplateModelIterator |
iterator()
Retrieves a template model iterator that is used to iterate over
the elements in this collection.
|
TemplateModelIterator iterator() throws TemplateModelException
TemplateModelException