    001/*
    002 * Licensed to the Apache Software Foundation (ASF) under one or more
    003 * contributor license agreements.  See the NOTICE file distributed with
    004 * this work for additional information regarding copyright ownership.
    005 * The ASF licenses this file to You under the Apache License, Version 2.0
    006 * (the "License"); you may not use this file except in compliance with
    007 * the License.  You may obtain a copy of the License at
    008 *
    009 *     http://www.apache.org/licenses/LICENSE-2.0
    010 *
    011 * Unless required by applicable law or agreed to in writing, software
    012 * distributed under the License is distributed on an "AS IS" BASIS,
    013 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    014 * See the License for the specific language governing permissions and
    015 * limitations under the License.
    016 */
    017
    018package org.apache.commons.jxpath.servlet;
    019
    020/**
    021 * String constants for this package.
    022 */
    023public final class Constants {
    024
    025    /**
    026     * Variable name for {@link javax.servlet.ServletContext}.
    027     */
    028    public static final String APPLICATION_SCOPE = "application";
    029    /**
    030     * Variable name for {@link javax.servlet.http.HttpSession}.
    031     */
    032    public static final String SESSION_SCOPE = "session";
    033    /**
    034     * Variable name for {@link javax.servlet.ServletRequest}.
    035     */
    036    public static final String REQUEST_SCOPE = "request";
    037    /**
    038     * Variable name for {@link javax.servlet.jsp.PageContext}.
    039     */
    040    public static final String PAGE_SCOPE = "page";
    041    /**
    042     * Attribute name used in page context, requst, session, and servlet context to store the corresponding {@link org.apache.commons.jxpath.JXPathContext}.
    043     */
    044    public static final String JXPATH_CONTEXT = "org.apache.commons.jxpath.JXPATH_CONTEXT";
    045
    046    /**
    047     * Constructs a new instance.
    048     * @deprecated Will be private in the next major version.
    049     */
    050    @Deprecated
    051    public Constants() {
    052        // empty
    053    }
    054}