public class _EnumModels extends Object
NOTHING
Constructor and Description |
---|
_EnumModels(BeansWrapper wrapper) |
Modifier and Type | Method and Description |
---|---|
protected TemplateModel |
createModel(Class clazz) |
TemplateModel |
get(String key)
Gets a TemplateModel from the hash.
|
protected BeansWrapper |
getWrapper() |
boolean |
isEmpty() |
public _EnumModels(BeansWrapper wrapper)
protected TemplateModel createModel(Class clazz)
public TemplateModel get(String key) throws TemplateModelException
TemplateHashModel
get
in interface TemplateHashModel
key
- the name by which the TemplateModel
is identified in the template.TemplateModelException
public boolean isEmpty()
isEmpty
in interface TemplateHashModel
protected BeansWrapper getWrapper()
Copyright © 2016. All Rights Reserved.