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.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
wrapperFields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
ConstructorsConstructorDescriptionSchemaTemplate(DocumentObjectWrapper wrapper, SchemaTemplate.DocumentSchema schema) -
Method Summary
Methods inherited from class org.nuxeo.ecm.platform.rendering.fm.adapters.PropertyWrapper
wrap
-
Constructor Details
-
SchemaTemplate
-
-
Method Details
-
get
public freemarker.template.TemplateModel get(String name) throws freemarker.template.TemplateModelException - Specified by:
getin interfacefreemarker.template.TemplateHashModel- Throws:
freemarker.template.TemplateModelException
-
isEmpty
public boolean isEmpty() throws freemarker.template.TemplateModelException- Specified by:
isEmptyin interfacefreemarker.template.TemplateHashModel- Throws:
freemarker.template.TemplateModelException
-