类 UpperDirective

java.lang.Object
com.tlcsdm.core.freemarker.directive.UpperDirective
所有已实现的接口:
freemarker.template.TemplateDirectiveModel, freemarker.template.TemplateModel

public class UpperDirective extends Object implements freemarker.template.TemplateDirectiveModel
FreeMarker user-defined directive that progressively transforms the output of its nested content to upper-case.

Directive info

Directive parameters: None

Loop variables: None

Directive nested content: Yes

  • 构造器详细资料

    • UpperDirective

      public UpperDirective()
  • 方法详细资料

    • execute

      public void execute(freemarker.core.Environment env, Map params, freemarker.template.TemplateModel[] loopVars, freemarker.template.TemplateDirectiveBody body) throws freemarker.template.TemplateException, IOException
      指定者:
      execute 在接口中 freemarker.template.TemplateDirectiveModel
      抛出:
      freemarker.template.TemplateException
      IOException