Class 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.
Version:
$Id: Toolbox.java 511959 2007-02-26 19:24:39Z nbubna $
Author:
Nathan Bubna
  • Field Details

  • Constructor Details

    • Scope

      private Scope()
  • Method Details

    • 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()