public static class JsonNodeModelFactory.ArrayNodeModel
extends freemarker.ext.beans.BeanModel
implements freemarker.template.TemplateCollectionModel, freemarker.template.TemplateSequenceModel
| Constructor and Description |
|---|
ArrayNodeModel(com.fasterxml.jackson.databind.node.ArrayNode object,
freemarker.ext.beans.BeansWrapper wrapper) |
| Modifier and Type | Method and Description |
|---|---|
freemarker.template.TemplateModel |
get(int index) |
boolean |
isEmpty() |
freemarker.template.TemplateModelIterator |
iterator() |
int |
size() |
public ArrayNodeModel(com.fasterxml.jackson.databind.node.ArrayNode object,
freemarker.ext.beans.BeansWrapper wrapper)
public freemarker.template.TemplateModelIterator iterator()
throws freemarker.template.TemplateModelException
iterator in interface freemarker.template.TemplateCollectionModelfreemarker.template.TemplateModelExceptionpublic freemarker.template.TemplateModel get(int index)
throws freemarker.template.TemplateModelException
get in interface freemarker.template.TemplateSequenceModelfreemarker.template.TemplateModelExceptionpublic int size()
size in interface freemarker.template.TemplateHashModelExsize in interface freemarker.template.TemplateSequenceModelsize in class freemarker.ext.beans.BeanModelpublic boolean isEmpty()
isEmpty in interface freemarker.template.TemplateHashModelisEmpty in class freemarker.ext.beans.BeanModel