public class PropertyIteratorTemplate extends PropertyWrapper implements freemarker.template.TemplateModelIterator, freemarker.template.AdapterTemplateModel
Modifier and Type | Field and Description |
---|---|
protected Iterator<Property> |
iterator |
wrapper
Constructor and Description |
---|
PropertyIteratorTemplate(DocumentObjectWrapper wrapper,
Iterator<Property> iterator) |
Modifier and Type | Method and Description |
---|---|
Object |
getAdaptedObject(Class hint) |
boolean |
hasNext() |
freemarker.template.TemplateModel |
next() |
wrap
public PropertyIteratorTemplate(DocumentObjectWrapper wrapper, Iterator<Property> iterator)
public Object getAdaptedObject(Class hint)
getAdaptedObject
in interface freemarker.template.AdapterTemplateModel
public boolean hasNext() throws freemarker.template.TemplateModelException
hasNext
in interface freemarker.template.TemplateModelIterator
freemarker.template.TemplateModelException
public freemarker.template.TemplateModel next() throws freemarker.template.TemplateModelException
next
in interface freemarker.template.TemplateModelIterator
freemarker.template.TemplateModelException
Copyright © 2018 Nuxeo. All rights reserved.