public interface MagnoliaModelFactory
extends freemarker.ext.util.ModelFactory
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
create(Object object,
freemarker.template.ObjectWrapper wrapper)
If possible, our models should instantiate models which implement AdapterTemplateModel,
so they can be unwrapped easily.
|
Class |
factoryFor()
Returns the Class this ModelFactory is able to create Model instances for.
|
Class factoryFor()
freemarker.template.TemplateModel create(Object object, freemarker.template.ObjectWrapper wrapper)
create
in interface freemarker.ext.util.ModelFactory
AdapterTemplateModel
Copyright © 2003–2016 Magnolia International Ltd.. All rights reserved.