Mercurial > dive4elements > gnv-client
comparison gnv/src/main/java/de/intevation/gnv/artifactdatabase/objects/DefaultOutputMode.java @ 690:254f062e334b
Added JavaDoc.
gnv/trunk@908 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 16:45:16 +0000 |
parents | 57fa8019fbdc |
children | af22fa5567a6 |
comparison
equal
deleted
inserted
replaced
689:8487581dfe3b | 690:254f062e334b |
---|---|
2 | 2 |
3 import java.util.Collection; | 3 import java.util.Collection; |
4 import java.util.Map; | 4 import java.util.Map; |
5 | 5 |
6 /** | 6 /** |
7 * The default implementation of an <code>OutputMode</code>. | |
8 * | |
7 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> | 9 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> |
8 * | |
9 */ | 10 */ |
10 public class DefaultOutputMode implements OutputMode { | 11 public class DefaultOutputMode implements OutputMode { |
11 | 12 |
12 /** | 13 /** |
13 * The UID of this Class. | 14 * The UID of this Class. |
33 this.mimeType = mimeType; | 34 this.mimeType = mimeType; |
34 this.outputParameter = outputParameter; | 35 this.outputParameter = outputParameter; |
35 this.exports = exports; | 36 this.exports = exports; |
36 } | 37 } |
37 | 38 |
38 /** | |
39 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getMimeType() | |
40 */ | |
41 public String getMimeType() { | 39 public String getMimeType() { |
42 return this.mimeType; | 40 return this.mimeType; |
43 } | 41 } |
44 | 42 |
45 /** | |
46 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getName() | |
47 */ | |
48 public String getName() { | 43 public String getName() { |
49 return this.name; | 44 return this.name; |
50 } | 45 } |
51 | 46 |
52 /** | |
53 * @see de.intevation.gnv.artifactdatabase.objects.OutputMode#getOutputParameters() | |
54 */ | |
55 public Collection<OutputParameter> getOutputParameters() { | 47 public Collection<OutputParameter> getOutputParameters() { |
56 return this.outputParameter; | 48 return this.outputParameter; |
57 } | 49 } |
58 | 50 |
59 public ExportMode getExportMode(String mode) { | 51 public ExportMode getExportMode(String mode) { |
60 return exports.get(mode); | 52 return exports.get(mode); |
61 } | 53 } |
62 } | 54 } |
55 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |