类 Scope

java.lang.Object
org.apache.velocity.tools.Scope

public final class Scope extends Object
A specialized constants class to provide some compile-time typo checking and runtime validation for scopes specified in annotations, toolbox configs, etc.
版本:
$Id: Toolbox.java 511959 2007-02-26 19:24:39Z nbubna $
作者:
Nathan Bubna
  • 字段详细资料

  • 构造器详细资料

    • Scope

      private Scope()
  • 方法详细资料

    • getInstance

      public static final Scope getInstance()
    • add

      public static final void add(String newScope)
    • exists

      public static final boolean exists(String scope)
    • values

      public static final List<String> values()