Package fmpp.models
Class WritableSequence
- java.lang.Object
-
- fmpp.models.WritableSequence
-
- All Implemented Interfaces:
freemarker.template.TemplateModel,freemarker.template.TemplateSequenceModel,java.lang.Cloneable
public class WritableSequence extends java.lang.Object implements freemarker.template.TemplateSequenceModelSequence variable that can be changed during template execution with the proper method variables.
-
-
Constructor Summary
Constructors Constructor Description WritableSequence()WritableSequence(java.util.List list)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()freemarker.template.TemplateModelget(int index)java.util.ListgetList()voidsetList(java.util.List list)intsize()
-
-
-
Method Detail
-
get
public freemarker.template.TemplateModel get(int index) throws freemarker.template.TemplateModelException- Specified by:
getin interfacefreemarker.template.TemplateSequenceModel- Throws:
freemarker.template.TemplateModelException
-
size
public int size() throws freemarker.template.TemplateModelException- Specified by:
sizein interfacefreemarker.template.TemplateSequenceModel- Throws:
freemarker.template.TemplateModelException
-
getList
public java.util.List getList()
-
setList
public void setList(java.util.List list)
-
clone
public java.lang.Object clone()
-
-