org.apache.velocity.tools
Class Scope
java.lang.Object
org.apache.velocity.tools.Scope
public final class Scope
- extends java.lang.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
Constructor Summary |
private |
Scope()
|
Method Summary |
static void |
add(java.lang.String newScope)
|
static boolean |
exists(java.lang.String scope)
|
static Scope |
getInstance()
|
static java.util.List<java.lang.String> |
values()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
VALUES
private static final java.util.List<java.lang.String> VALUES
INSTANCE
private static final Scope INSTANCE
Scope
private Scope()
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()
Copyright (c) 2003-2007 Apache Software Foundation