public class ObjectConstructor extends Object implements TemplateMethodModelEx
NOTHING| Constructor and Description |
|---|
ObjectConstructor() |
public Object exec(List args) throws TemplateModelException
TemplateMethodModelExexec in interface TemplateMethodModelexec in interface TemplateMethodModelExargs - a List of TemplateModel-s,
containing the arguments passed to the method. If the implementation absolutely wants
to operate on POJOs, it can use the static utility methods in the DeepUnwrap
class to easily obtain them. However, unwrapping is not always possible (or not perfectly), and isn't always
efficient, so it's recommended to use the original TemplateModel value as much as possible.null. If the returned value
does not implement TemplateModel, it will be automatically
wrapped using the environment's
object wrapper.TemplateModelExceptionCopyright © 2016. All Rights Reserved.