Class FreeMarkerEngine.FreeMarkerAbstractModel

java.lang.Object
services.moleculer.web.template.FreeMarkerEngine.FreeMarkerAbstractModel
All Implemented Interfaces:
freemarker.template.TemplateHashModel, freemarker.template.TemplateModel
Direct Known Subclasses:
FreeMarkerEngine.FreeMarkerTreeModel, FreeMarkerEngine.FreeMarkerTreeSequenceModel
Enclosing class:
FreeMarkerEngine

public static class FreeMarkerEngine.FreeMarkerAbstractModel extends Object implements freemarker.template.TemplateHashModel
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final io.datatree.Tree
     

    Fields inherited from interface freemarker.template.TemplateModel

    NOTHING
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    FreeMarkerAbstractModel(io.datatree.Tree node)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    freemarker.template.TemplateModel
    get(String key)
     
    boolean
     
    protected static final freemarker.template.TemplateModel
    nodeToModel(io.datatree.Tree node)
     

    Methods inherited from class Object

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

    • node

      protected final io.datatree.Tree node
  • Constructor Details

    • FreeMarkerAbstractModel

      protected FreeMarkerAbstractModel(io.datatree.Tree node)
  • Method Details

    • get

      public freemarker.template.TemplateModel get(String key) throws freemarker.template.TemplateModelException
      Specified by:
      get in interface freemarker.template.TemplateHashModel
      Throws:
      freemarker.template.TemplateModelException
    • isEmpty

      public boolean isEmpty() throws freemarker.template.TemplateModelException
      Specified by:
      isEmpty in interface freemarker.template.TemplateHashModel
      Throws:
      freemarker.template.TemplateModelException
    • nodeToModel

      protected static final freemarker.template.TemplateModel nodeToModel(io.datatree.Tree node)