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. * String constants for this package.
  19. *
  20. * @author Dmitri Plotnikov
  21. * @version $Revision: 1.5 $ $Date: 2004/02/29 14:17:40 $
  22. */
  23. public final class Constants {
  24. /**
  25. * Variable name for ServletContext.
  26. */
  27. public static final String APPLICATION_SCOPE = "application";
  28. /**
  29. * Variable name for HttpSession.
  30. */
  31. public static final String SESSION_SCOPE = "session";
  32. /**
  33. * Variable name for ServletRequest.
  34. */
  35. public static final String REQUEST_SCOPE = "request";
  36. /**
  37. * Variable name for PageContext.
  38. */
  39. public static final String PAGE_SCOPE = "page";
  40. /**
  41. * Attribute name used in page context, requst, session, and servlet
  42. * context to store the corresponding JXPathContext.
  43. */
  44. public static final String JXPATH_CONTEXT =
  45. "org.apache.commons.jxpath.JXPATH_CONTEXT";
  46. }