public class ListPropertyTemplate extends PropertyWrapper implements freemarker.template.TemplateCollectionModel, freemarker.template.TemplateSequenceModel, freemarker.template.AdapterTemplateModel
Modifier and Type | Field and Description |
---|---|
protected ListProperty |
property |
wrapper
Constructor and Description |
---|
ListPropertyTemplate(DocumentObjectWrapper wrapper,
ListProperty property) |
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
get(int arg0) |
Object |
getAdaptedObject(Class hint) |
freemarker.template.TemplateModelIterator |
iterator() |
int |
size() |
wrap
protected final ListProperty property
public ListPropertyTemplate(DocumentObjectWrapper wrapper, ListProperty property)
public Object getAdaptedObject(Class hint)
getAdaptedObject
in interface freemarker.template.AdapterTemplateModel
public freemarker.template.TemplateModelIterator iterator() throws freemarker.template.TemplateModelException
iterator
in interface freemarker.template.TemplateCollectionModel
freemarker.template.TemplateModelException
public freemarker.template.TemplateModel get(int arg0) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateSequenceModel
freemarker.template.TemplateModelException
public int size() throws freemarker.template.TemplateModelException
size
in interface freemarker.template.TemplateSequenceModel
freemarker.template.TemplateModelException
Copyright © 2018 Nuxeo. All rights reserved.