KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > inversoft > verge > util > ScopeConstants


1 /*
2  * Copyright (c) 2003, Inversoft
3  *
4  * This software is distribuable under the GNU Lesser General Public License.
5  * For more information visit gnu.org.
6  */

7 package com.inversoft.verge.util;
8
9
10 /**
11  * <p>
12  * This interface holds all the scope constants used internally
13  * in the Merlin framework. These may or may not correspond
14  * to the constants used in the javax.servlet.jsp.PageContext
15  * object or elsewhere in the J2EE APIs.
16  * </p>
17  *
18  * <p>
19  * If you need conversion support between these constants
20  * and the J2EE constants, use the {@link ScopeTools ScopeTools}
21  * class.
22  * </p>
23  *
24  * @author Brian Pontarelli
25  * @since 2.0
26  * @version 2.0
27  */

28 public interface ScopeConstants {
29
30     /**
31      * The page scope string
32      */

33     String JavaDoc PAGE = "page";
34
35     /**
36      * The request scope string
37      */

38     String JavaDoc REQUEST = "request";
39
40     /**
41      * The session scope string
42      */

43     String JavaDoc SESSION = "session";
44
45     /**
46      * The application scope string
47      */

48     String JavaDoc APPLICATION = "application";
49
50     /**
51      * The page context int
52      */

53     int PAGE_INT = 0;
54
55     /**
56      * The request scope int
57      */

58     int REQUEST_INT = 1;
59
60     /**
61      * The session scope int
62      */

63     int SESSION_INT = 2;
64
65     /**
66      * The application scope int
67      */

68     int APPLICATION_INT = 3;
69
70 }
71
Popular Tags