ingo@626: package de.intevation.gnv.state;
ingo@626:
ingo@626: /**
ingo@796: * This is the default implementation of ExportMode
.
sascha@803: *
sascha@780: * @author Ingo Weinzierl
ingo@626: */
ingo@626: public class DefaultExportMode
ingo@626: implements ExportMode
ingo@626: {
ingo@796: /**
ingo@796: * The name of the export (e.g. pdf, svg, image).
ingo@796: */
ingo@626: protected String name;
ingo@796:
ingo@796: /**
ingo@796: * A description for this export.
ingo@796: */
ingo@626: protected String description;
ingo@796:
ingo@796: /**
ingo@796: * The mimetype used to do execute this export.
ingo@796: */
ingo@626: protected String mimeType;
ingo@626:
ingo@796: /**
ingo@796: * Constructor.
ingo@796: *
ingo@796: */
ingo@626: public DefaultExportMode(String name, String description, String mimeType){
ingo@626: this.name = name;
ingo@626: this.description = description;
ingo@626: this.mimeType = mimeType;
ingo@626: }
ingo@626:
ingo@815:
ingo@626: public String getName() {
ingo@626: return name;
ingo@626: }
ingo@626:
ingo@815:
ingo@626: public String getDescription() {
ingo@626: return description;
ingo@626: }
ingo@626:
ingo@815:
ingo@626: public String getMimeType() {
ingo@626: return mimeType;
ingo@626: }
ingo@626: }
ingo@796: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :