public class ResolverHashModel extends Object implements freemarker.template.TemplateHashModel
Constructor and Description |
---|
ResolverHashModel(Resolver<? extends Object> resolver)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
get(String key)
Returns a scalar model based on the value returned by the resolver
according to the key.
|
boolean |
isEmpty()
Returns false.
|
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
Copyright © 2005–2014. All rights reserved.