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.TemplateSequenceModel
Sequence 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.Object
clone()
freemarker.template.TemplateModel
get(int index)
java.util.List
getList()
void
setList(java.util.List list)
int
size()
-
-
-
Method Detail
-
get
public freemarker.template.TemplateModel get(int index) throws freemarker.template.TemplateModelException
- Specified by:
get
in interfacefreemarker.template.TemplateSequenceModel
- Throws:
freemarker.template.TemplateModelException
-
size
public int size() throws freemarker.template.TemplateModelException
- Specified by:
size
in 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()
-
-