1 /* ================================================================
2 * Cewolf : Chart enabling Web Objects Framework
3 * ================================================================
5 * Project Info: http://cewolf.sourceforge.net
6 * Project Lead: Guido Laures (guido@laures.de);
8 * (C) Copyright 2002, by Guido Laures
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.
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.
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.
23 package de.laures.cewolf;
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
31 public interface WebConstants {
34 * The key for the session ID.
36 String SESSIONID_KEY = "jsessionid";
39 * Escape of an Ampersand in HTML
41 String AMPERSAND = "&";
44 * The image parameter key.
46 String IMG_PARAM = "img";
49 * The key for the width of the image.
51 String WIDTH_PARAM = "width";
54 * The key for the height of the image.
56 String HEIGHT_PARAM = "height";
59 * Remove image from Storage after rendering
61 String REMOVE_AFTER_RENDERING = "removeAfterRendering";
64 * MIME name of a PNG image.
66 String MIME_PNG = "image/png";
69 * MIME name of a JPEG image.
71 String MIME_JPEG = "image/jpeg";
75 * MIME name of a SVG image
77 String MIME_SVG = "image/svg+xml";