public class AssetMapModel extends Object implements freemarker.template.TemplateHashModelEx, freemarker.template.AdapterTemplateModel
Modifier and Type | Class and Description |
---|---|
static class |
AssetMapModel.Factory
Implements a
PrioritizedMagnoliaModelFactory in order to be able to configure it via FreemarkerConfig . |
Constructor and Description |
---|
AssetMapModel() |
AssetMapModel(AssetMap assetMap,
info.magnolia.freemarker.models.MagnoliaObjectWrapper wrapper) |
public AssetMapModel()
public AssetMapModel(AssetMap assetMap, info.magnolia.freemarker.models.MagnoliaObjectWrapper wrapper)
public freemarker.template.TemplateModel get(String key) 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
public int size() throws freemarker.template.TemplateModelException
size
in interface freemarker.template.TemplateHashModelEx
freemarker.template.TemplateModelException
public freemarker.template.TemplateCollectionModel keys() throws freemarker.template.TemplateModelException
keys
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
Copyright © 2016 Magnolia International Ltd.. All rights reserved.