Class SchemaTemplate

java.lang.Object
org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
org.nuxeo.ecm.platform.rendering.fm.adapters.SchemaTemplate
All Implemented Interfaces:
freemarker.template.TemplateHashModel, freemarker.template.TemplateModel

public class SchemaTemplate extends PropertyWrapper implements freemarker.template.TemplateHashModel
A template for a document's schema, that can still take advantage of the document's prefetched values.
  • Constructor Details

  • Method Details

    • get

      public freemarker.template.TemplateModel get(String name) 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