|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.szegedi.expose.model.StaticModels
Utility class for instantiating StaticModel instances from
templates. If your template's data model contains an instance of
StaticModels (named, say StaticModels), then you can
instantiate an arbitrary StaticModel using get syntax (i.e.
StaticModels["java.lang.System"]).
| Field Summary | |
static StaticModels |
INSTANCE
The single instance of the class. |
| Method Summary | |
freemarker.template.TemplateModel |
get(java.lang.String key)
Returns a StaticModel for the fully qualified class name
passed as the key. |
boolean |
isEmpty()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final StaticModels INSTANCE
| Method Detail |
public freemarker.template.TemplateModel get(java.lang.String key)
throws freemarker.template.TemplateModelException
StaticModel for the fully qualified class name
passed as the key.get in interface freemarker.template.TemplateHashModelpublic boolean isEmpty()
isEmpty in interface freemarker.template.TemplateModel
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||