KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > de > laures > cewolf > WebConstants


1 /* ================================================================
2  * Cewolf : Chart enabling Web Objects Framework
3  * ================================================================
4  *
5  * Project Info: http://cewolf.sourceforge.net
6  * Project Lead: Guido Laures (guido@laures.de);
7  *
8  * (C) Copyright 2002, by Guido Laures
9  *
10  * This library is free software; you can redistribute it and/or modify it under the terms
11  * of the GNU Lesser General Public License as published by the Free Software Foundation;
12  * either version 2.1 of the License, or (at your option) any later version.
13  *
14  * This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
15  * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU Lesser General Public License for more details.
17  *
18  * You should have received a copy of the GNU Lesser General Public License along with this
19  * library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330,
20  * Boston, MA 02111-1307, USA.
21  */

22
23 package de.laures.cewolf;
24
25 /**
26  * Contains some base constants to avoid explicit dependancy to concrete chart
27  * implementation's constant values. The constants of this class also serve as
28  * the base contract for data exchange between sub packages.
29  * @author Guido Laures
30  */

31 public interface WebConstants {
32
33     /**
34      * The key for the session ID.
35      */

36     String JavaDoc SESSIONID_KEY = "jsessionid";
37
38     /**
39      * Escape of an Ampersand in HTML
40      */

41     String JavaDoc AMPERSAND = "&";
42
43     /**
44      * The image parameter key.
45      */

46     String JavaDoc IMG_PARAM = "img";
47
48     /**
49      * The key for the width of the image.
50      */

51     String JavaDoc WIDTH_PARAM = "width";
52
53     /**
54      * The key for the height of the image.
55      */

56     String JavaDoc HEIGHT_PARAM = "height";
57     
58       /**
59      * Remove image from Storage after rendering
60      */

61     String JavaDoc REMOVE_AFTER_RENDERING = "removeAfterRendering";
62
63     /**
64      * MIME name of a PNG image.
65      */

66     String JavaDoc MIME_PNG = "image/png";
67
68     /**
69      * MIME name of a JPEG image.
70      */

71     String JavaDoc MIME_JPEG = "image/jpeg";
72     
73     
74     /**
75      * MIME name of a SVG image
76      */

77     String JavaDoc MIME_SVG = "image/svg+xml";
78   
79 }
80
Popular Tags