Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/artifacts/context/GNVArtifactContext.java @ 815:22c18083225e
Removed compiler warnings while JavaDoc generation.
gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 06:59:33 +0000 |
parents | 23877dd69444 |
children | 05bf8534a35a |
comparison
equal
deleted
inserted
replaced
814:9d427dd2a96a | 815:22c18083225e |
---|---|
14 | 14 |
15 /** | 15 /** |
16 * This class defines some final fields used to store some meta information | 16 * This class defines some final fields used to store some meta information |
17 * required during the work with an artifact into a context object which is | 17 * required during the work with an artifact into a context object which is |
18 * available in each request specified in | 18 * available in each request specified in |
19 * {@link de.intevation.gnv.artifacts.Artifacts} and further methods called by | 19 * <code>de.intevation.gnv.artifacts.Artifacts</code> and further methods called |
20 * those. | 20 * by those. |
21 * | 21 * |
22 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 22 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
23 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 23 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
24 */ | 24 */ |
25 public class GNVArtifactContext | 25 public class GNVArtifactContext |
28 /** | 28 /** |
29 * the logger, used to log exceptions and additonaly information | 29 * the logger, used to log exceptions and additonaly information |
30 */ | 30 */ |
31 private static Logger log = Logger.getLogger(GNVArtifactContext.class); | 31 private static Logger log = Logger.getLogger(GNVArtifactContext.class); |
32 | 32 |
33 /** | |
34 * | |
35 */ | |
36 public static final String CHART_TEMPLATE_KEY = | 33 public static final String CHART_TEMPLATE_KEY = |
37 "gnv.chart.template"; | 34 "gnv.chart.template"; |
38 | 35 |
39 /** | |
40 * | |
41 */ | |
42 public static final String HORIZONTAL_CROSS_SECTION_PROFILE_SAMPLES_KEY = | 36 public static final String HORIZONTAL_CROSS_SECTION_PROFILE_SAMPLES_KEY = |
43 "gnv.horizontal.cross.section.profile.samples"; | 37 "gnv.horizontal.cross.section.profile.samples"; |
44 | 38 |
45 /** | |
46 * | |
47 */ | |
48 public static final String HORIZONTAL_CROSS_SECTION_SAMPLES_KEY = | 39 public static final String HORIZONTAL_CROSS_SECTION_SAMPLES_KEY = |
49 "gnv.horizontal.cross.section.samples"; | 40 "gnv.horizontal.cross.section.samples"; |
50 | 41 |
51 /** | |
52 * | |
53 */ | |
54 public static final String HORIZONTAL_CROSS_SECTION_EXTRAPOLATION_ROUNDS_KEY = | 42 public static final String HORIZONTAL_CROSS_SECTION_EXTRAPOLATION_ROUNDS_KEY = |
55 "gnv.horizontal.cross.section.extrapolation.rounds"; | 43 "gnv.horizontal.cross.section.extrapolation.rounds"; |
56 | 44 |
57 /** | |
58 * | |
59 */ | |
60 public static final String | 45 public static final String |
61 HORIZONTAL_CROSS_SECTION_RESULT_SHAPEFILE_PATH_KEY = | 46 HORIZONTAL_CROSS_SECTION_RESULT_SHAPEFILE_PATH_KEY = |
62 "gnv.horizontal.cross.section.result.shapefile"; | 47 "gnv.horizontal.cross.section.result.shapefile"; |
63 | 48 |
64 /** | |
65 * | |
66 */ | |
67 public static final File | 49 public static final File |
68 DEFAULT_HORIZONTAL_CROSS_SECTION_PROFILE_SHAPEFILE_PATH = | 50 DEFAULT_HORIZONTAL_CROSS_SECTION_PROFILE_SHAPEFILE_PATH = |
69 new File(System.getProperty("java.io.tmpdir")); | 51 new File(System.getProperty("java.io.tmpdir")); |
70 | 52 |
71 /** | |
72 * | |
73 */ | |
74 public static final Integer | 53 public static final Integer |
75 DEFAULT_HORIZONTAL_CROSS_SECTION_PROFILE_SAMPLES = Integer.valueOf(250); | 54 DEFAULT_HORIZONTAL_CROSS_SECTION_PROFILE_SAMPLES = Integer.valueOf(250); |
76 | 55 |
77 /** | |
78 * | |
79 */ | |
80 public static final Integer | 56 public static final Integer |
81 DEFAULT_HORIZONTAL_CROSS_SECTION_SAMPLES = Integer.valueOf(1024); | 57 DEFAULT_HORIZONTAL_CROSS_SECTION_SAMPLES = Integer.valueOf(1024); |
82 | 58 |
83 /** | |
84 * | |
85 */ | |
86 public static final Integer | 59 public static final Integer |
87 DEFAULT_HORIZONTAL_CROSS_SECTION_EXTRAPOLATION_ROUNDS = Integer.valueOf(0); | 60 DEFAULT_HORIZONTAL_CROSS_SECTION_EXTRAPOLATION_ROUNDS = Integer.valueOf(0); |
88 | 61 |
89 /** | |
90 * | |
91 */ | |
92 public static final String HORIZONTAL_CROSS_SECTION_GROUND_INTERPOLATION_KEY = | 62 public static final String HORIZONTAL_CROSS_SECTION_GROUND_INTERPOLATION_KEY = |
93 "gnv.horizontal.cross.section.ground.interpolation"; | 63 "gnv.horizontal.cross.section.ground.interpolation"; |
94 | 64 |
95 /** | |
96 * | |
97 */ | |
98 public static final String DEFAULT_HORIZONTAL_CROSS_SECTION_GROUND_INTERPOLATION = | 65 public static final String DEFAULT_HORIZONTAL_CROSS_SECTION_GROUND_INTERPOLATION = |
99 "bilinear"; | 66 "bilinear"; |
100 | 67 |
101 /** | |
102 * | |
103 */ | |
104 public static final String PALETTES_KEY = | 68 public static final String PALETTES_KEY = |
105 "gnv.color.palettes"; | 69 "gnv.color.palettes"; |
106 | 70 |
107 /** | |
108 * | |
109 */ | |
110 public static final String VERTICAL_CROSS_SECTION_SAMPLES_KEY = | 71 public static final String VERTICAL_CROSS_SECTION_SAMPLES_KEY = |
111 "gnv.vertical.cross.section.samples"; | 72 "gnv.vertical.cross.section.samples"; |
112 | 73 |
113 /** | |
114 * | |
115 */ | |
116 public static final Dimension DEFAULT_VERTICAL_CROSS_SECTION_SAMPLES = | 74 public static final Dimension DEFAULT_VERTICAL_CROSS_SECTION_SAMPLES = |
117 new Dimension(1024, 768); | 75 new Dimension(1024, 768); |
118 | 76 |
119 /** | |
120 * | |
121 */ | |
122 public static final String VERTICAL_CROSS_SECTION_FILTER_FACTORIES_KEY = | 77 public static final String VERTICAL_CROSS_SECTION_FILTER_FACTORIES_KEY = |
123 "gnv.vertical.cross.section.filter.factories"; | 78 "gnv.vertical.cross.section.filter.factories"; |
124 | 79 |
125 /** | |
126 * | |
127 */ | |
128 public static final String VERTICAL_CROSS_SECTION_GROUND_INTERPOLATION_KEY = | 80 public static final String VERTICAL_CROSS_SECTION_GROUND_INTERPOLATION_KEY = |
129 "gnv.vertical.cross.section.ground.interpolation"; | 81 "gnv.vertical.cross.section.ground.interpolation"; |
130 | 82 |
131 /** | |
132 * | |
133 */ | |
134 public static final String DEFAULT_VERTICAL_CROSS_SECTION_GROUND_INTERPOLATION = | 83 public static final String DEFAULT_VERTICAL_CROSS_SECTION_GROUND_INTERPOLATION = |
135 "bilinear"; | 84 "bilinear"; |
136 | 85 |
137 /** | |
138 * | |
139 */ | |
140 public static final String VERTICAL_CROSS_SECTION_GROUND_FILL_KEY = | 86 public static final String VERTICAL_CROSS_SECTION_GROUND_FILL_KEY = |
141 "gnv.vertical.cross.section.ground.fill"; | 87 "gnv.vertical.cross.section.ground.fill"; |
142 | 88 |
143 /** | |
144 * | |
145 */ | |
146 public static final String MAPSERVER_SERVER_PATH_KEY = | 89 public static final String MAPSERVER_SERVER_PATH_KEY = |
147 "mapserver.server.path"; | 90 "mapserver.server.path"; |
148 | 91 |
149 /** | |
150 * | |
151 */ | |
152 public static final String MAPSERVER_MAP_PATH_KEY = | 92 public static final String MAPSERVER_MAP_PATH_KEY = |
153 "mapserver.map.path"; | 93 "mapserver.map.path"; |
154 | 94 |
155 /** | |
156 * | |
157 */ | |
158 public static final Paint DEFAULT_VERTICAL_CROSS_SECTION_GROUND_FILL = | 95 public static final Paint DEFAULT_VERTICAL_CROSS_SECTION_GROUND_FILL = |
159 new Color(0x7c8683); | 96 new Color(0x7c8683); |
160 | 97 |
161 /** | |
162 * | |
163 */ | |
164 public GNVArtifactContext() { | 98 public GNVArtifactContext() { |
165 super(); | 99 super(); |
166 log.debug("GNVArtifactContext.Constructor"); | 100 log.debug("GNVArtifactContext.Constructor"); |
167 } | 101 } |
168 | 102 |
169 /** | |
170 * | |
171 * @param config | |
172 */ | |
173 public GNVArtifactContext(Document config) { | 103 public GNVArtifactContext(Document config) { |
174 super(config); | 104 super(config); |
175 log.debug("GNVArtifactContext.Constructor(config)"); | 105 log.debug("GNVArtifactContext.Constructor(config)"); |
176 } | 106 } |
177 | |
178 } | 107 } |
179 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 108 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |