Class EntityListObjectWrapper
java.lang.Object
ch.tocco.nice2.templating.impl.freemarker.templatemodel.EntityListObjectWrapper
- All Implemented Interfaces:
TemplateObjectWrapper
TemplateObjectWrapper
for
EntityList
s added to the template model.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
freemarker.template.TemplateModel
wrap
(Object object, TemplateDefaultObjectWrapper defaultObjectWrapper)
-
Constructor Details
-
EntityListObjectWrapper
public EntityListObjectWrapper()
-
-
Method Details
-
useInDefaultObjectWrapper
public boolean useInDefaultObjectWrapper()- Specified by:
useInDefaultObjectWrapper
in interfaceTemplateObjectWrapper
-
wrap
public freemarker.template.TemplateModel wrap(Object object, TemplateDefaultObjectWrapper defaultObjectWrapper) - Specified by:
wrap
in interfaceTemplateObjectWrapper
-
canWrap
- Specified by:
canWrap
in interfaceTemplateObjectWrapper
- Returns:
- true if this implementation can wrap the provided object
-