Class Alias
java.lang.Object
de.monticore.generating.templateengine.freemarker.alias.Alias
- All Implemented Interfaces:
freemarker.template.TemplateMethodModel,freemarker.template.TemplateMethodModelEx,freemarker.template.TemplateModel
-
Field Summary
FieldsFields inherited from interface freemarker.template.TemplateModel
NOTHING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidatLeastArguments(List arguments, int count) protected freemarker.ext.beans.CollectionModelconvertVarargsToCollectionModel(List arguments, int startIndex) protected ListconvertVarargsToList(List arguments, int startIndex) protected voidexactArguments(List arguments, int count) abstract freemarker.template.TemplateMethodModelExgetName()
-
Field Details
-
name
-
methodName
-
-
Constructor Details
-
Alias
-
-
Method Details
-
getName
-
getMethodName
-
getMethod
public abstract freemarker.template.TemplateMethodModelEx getMethod() throws freemarker.template.TemplateModelException- Throws:
freemarker.template.TemplateModelException
-
exec
- Specified by:
execin interfacefreemarker.template.TemplateMethodModel- Specified by:
execin interfacefreemarker.template.TemplateMethodModelEx- Throws:
freemarker.template.TemplateModelException
-
convertVarargsToList
protected List convertVarargsToList(List arguments, int startIndex) throws freemarker.template.TemplateModelException - Throws:
freemarker.template.TemplateModelException
-
convertVarargsToCollectionModel
protected freemarker.ext.beans.CollectionModel convertVarargsToCollectionModel(List arguments, int startIndex) throws freemarker.template.TemplateModelException - Throws:
freemarker.template.TemplateModelException
-
exactArguments
protected void exactArguments(List arguments, int count) throws freemarker.template.TemplateModelException - Throws:
freemarker.template.TemplateModelException
-
atLeastArguments
protected void atLeastArguments(List arguments, int count) throws freemarker.template.TemplateModelException - Throws:
freemarker.template.TemplateModelException
-