freemarker.template.utility
public class ObjectConstructor extends Object implements TemplateMethodModelEx
NOTHING
Constructor and Description |
---|
ObjectConstructor() |
public Object exec(List args) throws TemplateModelException
TemplateMethodModelEx
exec
in interface TemplateMethodModel
exec
in interface TemplateMethodModelEx
args
- a List of TemplateModel
objects
containing the values of the arguments passed to the method. If the
implementation wishes to operate on POJOs that might be underlying the
models, it can use the static utility methods in the DeepUnwrap
class to easily obtain them.TemplateModel
, it will be automatically
wrapped using the environment
object wrapper
.TemplateModelException