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.TemplateCollectionModel
freemarker.template.TemplateModelException
public freemarker.template.TemplateModel get(int index) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateSequenceModel
freemarker.template.TemplateModelException
public int size()
size
in interface freemarker.template.TemplateHashModelEx
size
in interface freemarker.template.TemplateSequenceModel
size
in class freemarker.ext.beans.BeanModel
public boolean isEmpty()
isEmpty
in interface freemarker.template.TemplateHashModel
isEmpty
in class freemarker.ext.beans.BeanModel