Class JsonNodeModelFactory.ArrayNodeModel
java.lang.Object
freemarker.ext.beans.BeanModel
com.flowable.platform.common.freemarker.JsonNodeModelFactory.ArrayNodeModel
- All Implemented Interfaces:
freemarker.ext.util.WrapperTemplateModel
,freemarker.template.AdapterTemplateModel
,freemarker.template.TemplateCollectionModel
,freemarker.template.TemplateHashModel
,freemarker.template.TemplateHashModelEx
,freemarker.template.TemplateModel
,freemarker.template.TemplateModelWithAPISupport
,freemarker.template.TemplateSequenceModel
- Enclosing class:
- JsonNodeModelFactory
public static class JsonNodeModelFactory.ArrayNodeModel
extends freemarker.ext.beans.BeanModel
implements freemarker.template.TemplateCollectionModel, freemarker.template.TemplateSequenceModel
-
Field Summary
Fields inherited from class freemarker.ext.beans.BeanModel
object, wrapper
Fields inherited from interface freemarker.template.TemplateModel
NOTHING
-
Constructor Summary
ConstructorDescriptionArrayNodeModel
(com.fasterxml.jackson.databind.node.ArrayNode object, freemarker.ext.beans.BeansWrapper wrapper) -
Method Summary
Methods inherited from class freemarker.ext.beans.BeanModel
get, getAdaptedObject, getAPI, getWrappedObject, hasPlainGetMethod, invokeGenericGet, keys, keySet, toString, unwrap, values, wrap
-
Constructor Details
-
ArrayNodeModel
public ArrayNodeModel(com.fasterxml.jackson.databind.node.ArrayNode object, freemarker.ext.beans.BeansWrapper wrapper)
-
-
Method Details
-
iterator
public freemarker.template.TemplateModelIterator iterator() throws freemarker.template.TemplateModelException- Specified by:
iterator
in interfacefreemarker.template.TemplateCollectionModel
- Throws:
freemarker.template.TemplateModelException
-
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()- Specified by:
size
in interfacefreemarker.template.TemplateHashModelEx
- Specified by:
size
in interfacefreemarker.template.TemplateSequenceModel
- Overrides:
size
in classfreemarker.ext.beans.BeanModel
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfacefreemarker.template.TemplateHashModel
- Overrides:
isEmpty
in classfreemarker.ext.beans.BeanModel
-