Class ListPropertyTemplate
java.lang.Object
org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
org.nuxeo.ecm.platform.rendering.fm.adapters.ListPropertyTemplate
- All Implemented Interfaces:
freemarker.template.AdapterTemplateModel
,freemarker.template.TemplateCollectionModel
,freemarker.template.TemplateModel
,freemarker.template.TemplateSequenceModel
public class ListPropertyTemplate
extends PropertyWrapper
implements freemarker.template.TemplateCollectionModel, freemarker.template.TemplateSequenceModel, freemarker.template.AdapterTemplateModel
- Author:
- Bogdan Stefanescu
-
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
wrapper
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
-
Method Summary
Methods inherited from class org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
wrap
-
Field Details
-
property
-
-
Constructor Details
-
ListPropertyTemplate
-
-
Method Details
-
getAdaptedObject
- Specified by:
getAdaptedObject
in interfacefreemarker.template.AdapterTemplateModel
-
iterator
public freemarker.template.TemplateModelIterator iterator() throws freemarker.template.TemplateModelException- Specified by:
iterator
in interfacefreemarker.template.TemplateCollectionModel
- Throws:
freemarker.template.TemplateModelException
-
get
public freemarker.template.TemplateModel get(int arg0) throws freemarker.template.TemplateModelException - Specified by:
get
in interfacefreemarker.template.TemplateSequenceModel
- Throws:
freemarker.template.TemplateModelException
-
size
public int size() throws freemarker.template.TemplateModelException- Specified by:
size
in interfacefreemarker.template.TemplateSequenceModel
- Throws:
freemarker.template.TemplateModelException
-