Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/ExportMode.java @ 270:d01b0d81b92a
Parse the facets of a Collection and distinguish between an ordinary OutputMode and an ExportMode (new).
flys-client/trunk@1895 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 11 May 2011 09:11:40 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
269:eb3c16df59db | 270:d01b0d81b92a |
---|---|
1 package de.intevation.flys.client.shared.model; | |
2 | |
3 import java.util.List; | |
4 | |
5 | |
6 /** | |
7 * An derived OutputMode that marks an OutputMode as an export. An export mode | |
8 * should at least support one (or more) facet which specify the type of export | |
9 * (e.g. CSV, WST). | |
10 * | |
11 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
12 */ | |
13 public class ExportMode extends DefaultOutputMode { | |
14 | |
15 public ExportMode() { | |
16 } | |
17 | |
18 | |
19 public ExportMode(String name, String desc, String mimeType) { | |
20 super(name, desc, mimeType); | |
21 } | |
22 | |
23 | |
24 public ExportMode( | |
25 String name, | |
26 String descrition, | |
27 String mimeType, | |
28 List<Facet> facets) | |
29 { | |
30 super(name, descrition, mimeType, facets); | |
31 } | |
32 } | |
33 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |