public class ComplexPropertyTemplate extends PropertyWrapper implements freemarker.template.TemplateHashModelEx, freemarker.template.AdapterTemplateModel
Modifier and Type | Field and Description |
---|---|
protected Property |
property |
wrapper
Constructor and Description |
---|
ComplexPropertyTemplate(DocumentObjectWrapper wrapper,
Property property) |
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
get(String name) |
Object |
getAdaptedObject(Class hint) |
boolean |
isEmpty() |
freemarker.template.TemplateCollectionModel |
keys() |
int |
size() |
freemarker.template.TemplateCollectionModel |
values() |
wrap
public ComplexPropertyTemplate(DocumentObjectWrapper wrapper, Property property)
public Object getAdaptedObject(Class hint)
getAdaptedObject
in interface freemarker.template.AdapterTemplateModel
public freemarker.template.TemplateCollectionModel keys() throws freemarker.template.TemplateModelException
keys
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public int size() throws freemarker.template.TemplateModelException
size
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public freemarker.template.TemplateCollectionModel values() throws freemarker.template.TemplateModelException
values
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public freemarker.template.TemplateModel get(String name) throws freemarker.template.TemplateModelException
get
in interface freemarker.template.TemplateHashModel
freemarker.template.TemplateModelException
public boolean isEmpty() throws freemarker.template.TemplateModelException
isEmpty
in interface freemarker.template.TemplateHashModel
freemarker.template.TemplateModelException
Copyright © 2018 Nuxeo. All rights reserved.