View Javadoc

1   /*
2    * Copyright 1999-2004 The Apache Software Foundation
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.apache.commons.jxpath.servlet;
17  
18  /***
19   * String constants for this package.
20   *
21   * @author Dmitri Plotnikov
22   * @version $Revision: 1.5 $ $Date: 2004/02/29 14:17:40 $
23   */
24  public final class Constants {
25  
26      /***
27       * Variable name for ServletContext.
28       */
29      public static final String APPLICATION_SCOPE = "application";
30  
31      /***
32       * Variable name for HttpSession.
33       */
34      public static final String SESSION_SCOPE = "session";
35  
36      /***
37       * Variable name for ServletRequest.
38       */
39      public static final String REQUEST_SCOPE = "request";
40  
41      /***
42       * Variable name for PageContext.
43       */
44      public static final String PAGE_SCOPE = "page";
45  
46      /***
47       * Attribute  name used in page context, requst, session, and servlet
48       * context to store the corresponding JXPathContext.
49       */
50      public static final String JXPATH_CONTEXT =
51          "org.apache.commons.jxpath.JXPATH_CONTEXT";
52  
53  }