comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultExportMode.java @ 796:a5526908f92f

Added javadoc in state package. gnv-artifacts/trunk@878 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Thu, 01 Apr 2010 09:15:36 +0000
parents c4156275c1e1
children feae2f9d6c6f
comparison
equal deleted inserted replaced
795:cdade5005cba 796:a5526908f92f
1 package de.intevation.gnv.state; 1 package de.intevation.gnv.state;
2 2
3 /** 3 /**
4 * This is the default implementation of <code>ExportMode</code>.
5 *
4 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> 6 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
5 */ 7 */
6 public class DefaultExportMode 8 public class DefaultExportMode
7 implements ExportMode 9 implements ExportMode
8 { 10 {
11 /**
12 * The name of the export (e.g. pdf, svg, image).
13 */
9 protected String name; 14 protected String name;
15
16 /**
17 * A description for this export.
18 */
10 protected String description; 19 protected String description;
20
21 /**
22 * The mimetype used to do execute this export.
23 */
11 protected String mimeType; 24 protected String mimeType;
12 25
26 /**
27 * Constructor.
28 *
29 * @param name
30 * @param description
31 * @param mimeType
32 */
13 public DefaultExportMode(String name, String description, String mimeType){ 33 public DefaultExportMode(String name, String description, String mimeType){
14 this.name = name; 34 this.name = name;
15 this.description = description; 35 this.description = description;
16 this.mimeType = mimeType; 36 this.mimeType = mimeType;
17 } 37 }
18 38
39 /**
40 *
41 * @return
42 */
19 public String getName() { 43 public String getName() {
20 return name; 44 return name;
21 } 45 }
22 46
47 /**
48 *
49 * @return
50 */
23 public String getDescription() { 51 public String getDescription() {
24 return description; 52 return description;
25 } 53 }
26 54
55 /**
56 *
57 * @return
58 */
27 public String getMimeType() { 59 public String getMimeType() {
28 return mimeType; 60 return mimeType;
29 } 61 }
30 } 62 }
31 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: 63 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org