Class JsonNodeModelFactory

java.lang.Object
com.flowable.platform.common.freemarker.JsonNodeModelFactory
All Implemented Interfaces:
freemarker.ext.util.ModelFactory

public class JsonNodeModelFactory
extends java.lang.Object
implements freemarker.ext.util.ModelFactory
A ModelFactory that supports the use of JsonNode in Freemarker templates.
Author:
Filip Hrisafov
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  JsonNodeModelFactory.ArrayNodeModel  
    static class  JsonNodeModelFactory.ObjectNodeModel  
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static freemarker.ext.util.ModelFactory INSTANCE  
  • Constructor Summary

    Constructors 
    Constructor Description
    JsonNodeModelFactory()  
  • Method Summary

    Modifier and Type Method Description
    freemarker.template.TemplateModel create​(java.lang.Object object, freemarker.template.ObjectWrapper wrapper)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INSTANCE

      public static final freemarker.ext.util.ModelFactory INSTANCE
  • Constructor Details

  • Method Details

    • create

      public freemarker.template.TemplateModel create​(java.lang.Object object, freemarker.template.ObjectWrapper wrapper)
      Specified by:
      create in interface freemarker.ext.util.ModelFactory