public class WritableSequence
extends java.lang.Object
implements freemarker.template.TemplateSequenceModel
Constructor and Description |
---|
WritableSequence() |
WritableSequence(java.util.List list) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
freemarker.template.TemplateModel |
get(int index) |
java.util.List |
getList() |
void |
setList(java.util.List list) |
int |
size() |
public WritableSequence()
public WritableSequence(java.util.List list)
list
- must contain only TemplateModel
-s.public freemarker.template.TemplateModel get(int index) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateSequenceModel
freemarker.template.TemplateModelException
public int size() throws freemarker.template.TemplateModelException
size
in interface freemarker.template.TemplateSequenceModel
freemarker.template.TemplateModelException
public java.util.List getList()
public void setList(java.util.List list)
public java.lang.Object clone()