public class ListPropertyTemplate extends PropertyWrapper implements freemarker.template.TemplateCollectionModel, freemarker.template.TemplateSequenceModel, freemarker.template.AdapterTemplateModel
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
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 © 2015 Nuxeo SA. All rights reserved.