Mercurial > hg > de.mpg.mpiwg.itgroup.digilib.plugin
comparison src/de/mpg/mpiwg/itgroup/digilib/digiImage/DigiImageParameter.java @ 21:643fa1daa70c
minor changes
author | dwinter |
---|---|
date | Wed, 05 Jan 2011 11:35:45 +0100 |
parents | 2f47c136b8a6 |
children | 1a7940ac5169 |
comparison
equal
deleted
inserted
replaced
20:2f47c136b8a6 | 21:643fa1daa70c |
---|---|
209 this.ddpiy = ddpiy; | 209 this.ddpiy = ddpiy; |
210 } | 210 } |
211 | 211 |
212 | 212 |
213 | 213 |
214 /** | |
215 * Converts the parameters in to map. | |
216 * @param omitIfNegative list of parameters not to be included in the map if negative | |
217 * @return Map with parameter names and values. | |
218 */ | |
214 public Map<String, String> createMapFromParameters(List<String> omitIfNegative) { | 219 public Map<String, String> createMapFromParameters(List<String> omitIfNegative) { |
215 | 220 |
216 | 221 |
217 Map<String,String> qa= new HashMap<String,String>(); | 222 Map<String,String> qa= new HashMap<String,String>(); |
218 | 223 |
247 | 252 |
248 | 253 |
249 | 254 |
250 | 255 |
251 /** | 256 /** |
252 * Puts the parameter as key-value into the map repecting the setting in @see {@link #omitIfNegativeArray}. | 257 * Puts the parameter as key-value into the map respecting the setting omitIfNegative. |
253 * @param qa | 258 * @param qa Map to be filled |
254 * @param key | 259 * @param key |
255 * @param value | 260 * @param value |
256 * @param omitIfNegative | 261 * @param omitIfNegative list of parameters not to be included in the map if negative |
257 */ | 262 */ |
258 private void setPm(Map<String, String> qa, String key, Object value, List<String> omitIfNegative){ | 263 private void setPm(Map<String, String> qa, String key, Object value, List<String> omitIfNegative){ |
259 String v; | 264 String v; |
260 | 265 |
261 if (omitIfNegative==null){ | 266 if (omitIfNegative==null){ |