All Implemented Interfaces:
freemarker.template.TemplateMethodModel, freemarker.template.TemplateMethodModelEx, freemarker.template.TemplateModel
Direct Known Subclasses:
AddToGlobalVarAlias, BindHookPointAlias, ChangeGlobalVarAlias, DefineGlobalVarAlias, ExistsHookPointAlias, GetGlobalVarAlias, RequiredGlobalVarAlias

public class SimpleGlexAlias extends GlexAlias
  • Field Details

    • params

      protected final int params
  • Constructor Details

    • SimpleGlexAlias

      public SimpleGlexAlias(String name, String method, int params)
  • Method Details

    • exec

      public Object exec(List arguments) throws freemarker.template.TemplateModelException
      Specified by:
      exec in interface freemarker.template.TemplateMethodModel
      Specified by:
      exec in interface freemarker.template.TemplateMethodModelEx
      Overrides:
      exec in class Alias
      Throws:
      freemarker.template.TemplateModelException