Package org.apache.velocity.tools
Class Scope
- java.lang.Object
-
- org.apache.velocity.tools.Scope
-
public final class Scope extends java.lang.ObjectA 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 Summary
Fields Modifier and Type Field Description static java.lang.StringAPPLICATIONstatic java.lang.StringREQUESTstatic java.lang.StringSESSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidadd(java.lang.String newScope)static booleanexists(java.lang.String scope)static ScopegetInstance()static java.util.List<java.lang.String>values()
-
-
-
Field Detail
-
REQUEST
public static final java.lang.String REQUEST
- See Also:
- Constant Field Values
-
SESSION
public static final java.lang.String SESSION
- See Also:
- Constant Field Values
-
APPLICATION
public static final java.lang.String APPLICATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static final Scope getInstance()
-
add
public static final void add(java.lang.String newScope)
-
exists
public static final boolean exists(java.lang.String scope)
-
values
public static final java.util.List<java.lang.String> values()
-
-