Class PropertyIteratorTemplate
java.lang.Object
org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyIteratorTemplate
- All Implemented Interfaces:
freemarker.template.AdapterTemplateModel
,freemarker.template.TemplateModel
,freemarker.template.TemplateModelIterator
public class PropertyIteratorTemplate
extends PropertyWrapper
implements freemarker.template.TemplateModelIterator, 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
ConstructorDescriptionPropertyIteratorTemplate
(DocumentObjectWrapper wrapper, Iterator<Property> iterator) -
Method Summary
Modifier and TypeMethodDescriptiongetAdaptedObject
(Class hint) boolean
hasNext()
freemarker.template.TemplateModel
next()
Methods inherited from class org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
wrap
-
Field Details
-
iterator
-
-
Constructor Details
-
PropertyIteratorTemplate
-
-
Method Details
-
getAdaptedObject
- Specified by:
getAdaptedObject
in interfacefreemarker.template.AdapterTemplateModel
-
hasNext
public boolean hasNext() throws freemarker.template.TemplateModelException- Specified by:
hasNext
in interfacefreemarker.template.TemplateModelIterator
- Throws:
freemarker.template.TemplateModelException
-
next
public freemarker.template.TemplateModel next() throws freemarker.template.TemplateModelException- Specified by:
next
in interfacefreemarker.template.TemplateModelIterator
- Throws:
freemarker.template.TemplateModelException
-