fmpp.models
Class TemplateModelArrayCollection

java.lang.Object
  extended by fmpp.models.TemplateModelArrayCollection
All Implemented Interfaces:
freemarker.template.TemplateCollectionModel, freemarker.template.TemplateModel

public class TemplateModelArrayCollection
extends java.lang.Object
implements freemarker.template.TemplateCollectionModel

Collection variable implementation that wraps an array of already wrapped objects directly.


Field Summary
 
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
 
Constructor Summary
TemplateModelArrayCollection(freemarker.template.TemplateModel[] array)
           
 
Method Summary
 freemarker.template.TemplateModelIterator iterator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateModelArrayCollection

public TemplateModelArrayCollection(freemarker.template.TemplateModel[] array)
Method Detail

iterator

public freemarker.template.TemplateModelIterator iterator()
Specified by:
iterator in interface freemarker.template.TemplateCollectionModel