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

    Constructors
    Constructor
    Description
    ArrayNodeModel(com.fasterxml.jackson.databind.node.ArrayNode object, freemarker.ext.beans.BeansWrapper wrapper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    freemarker.template.TemplateModel
    get(int index)
     
    boolean
     
    freemarker.template.TemplateModelIterator
     
    int
     

    Methods inherited from class freemarker.ext.beans.BeanModel

    get, getAdaptedObject, getAPI, getWrappedObject, hasPlainGetMethod, invokeGenericGet, keys, keySet, toString, unwrap, values, wrap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 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 interface freemarker.template.TemplateCollectionModel
      Throws:
      freemarker.template.TemplateModelException
    • get

      public freemarker.template.TemplateModel get(int index) throws freemarker.template.TemplateModelException
      Specified by:
      get in interface freemarker.template.TemplateSequenceModel
      Throws:
      freemarker.template.TemplateModelException
    • size

      public int size()
      Specified by:
      size in interface freemarker.template.TemplateHashModelEx
      Specified by:
      size in interface freemarker.template.TemplateSequenceModel
      Overrides:
      size in class freemarker.ext.beans.BeanModel
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface freemarker.template.TemplateHashModel
      Overrides:
      isEmpty in class freemarker.ext.beans.BeanModel