Class FreeMarkerEngine.FreeMarkerTreeModel

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

public static class FreeMarkerEngine.FreeMarkerTreeModel extends FreeMarkerEngine.FreeMarkerAbstractModel implements freemarker.template.TemplateNodeModel
  • Constructor Details

    • FreeMarkerTreeModel

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

    • getNodeNamespace

      public String getNodeNamespace() throws freemarker.template.TemplateModelException
      Specified by:
      getNodeNamespace in interface freemarker.template.TemplateNodeModel
      Throws:
      freemarker.template.TemplateModelException
    • getNodeName

      public String getNodeName() throws freemarker.template.TemplateModelException
      Specified by:
      getNodeName in interface freemarker.template.TemplateNodeModel
      Throws:
      freemarker.template.TemplateModelException
    • getNodeType

      public String getNodeType() throws freemarker.template.TemplateModelException
      Specified by:
      getNodeType in interface freemarker.template.TemplateNodeModel
      Throws:
      freemarker.template.TemplateModelException
    • getParentNode

      public freemarker.template.TemplateNodeModel getParentNode() throws freemarker.template.TemplateModelException
      Specified by:
      getParentNode in interface freemarker.template.TemplateNodeModel
      Throws:
      freemarker.template.TemplateModelException
    • getChildNodes

      public freemarker.template.TemplateSequenceModel getChildNodes() throws freemarker.template.TemplateModelException
      Specified by:
      getChildNodes in interface freemarker.template.TemplateNodeModel
      Throws:
      freemarker.template.TemplateModelException