public interface ClassBasedDataLoader
TemplateModel
based on a Java Class
, for
instance by analysing the class through reflection and/or reading annotations
present with the class or its elements.Modifier and Type | Method and Description |
---|---|
freemarker.template.TemplateModel |
load(Class<?> clazz)
Loads and returns a
TemplateModel based on the specified
clazz . |
freemarker.template.TemplateModel load(Class<?> clazz)
TemplateModel
based on the specified
clazz
. Most implementations analyze the class through reflection
which is possibly enriched with annotations supporting the code
generation.clazz
- the class to analyzeclazz
Copyright © 2024. All rights reserved.