Package fmpp.models
Class WritableSequence
java.lang.Object
fmpp.models.WritableSequence
- All Implemented Interfaces:
freemarker.template.TemplateModel
,freemarker.template.TemplateSequenceModel
,Cloneable
Sequence variable that can be changed during template execution with the
proper method variables.
-
Field Summary
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WritableSequence
public WritableSequence() -
WritableSequence
- Parameters:
list
- must contain onlyTemplateModel
-s.
-
-
Method Details
-
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
-
setList
-
clone
-