Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputMode.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 | c8e651530f34 |
children | 8264b02091ef |
comparison
equal
deleted
inserted
replaced
269:eb3c16df59db | 270:d01b0d81b92a |
---|---|
31 * | 31 * |
32 * | 32 * |
33 * @return the mime-type of this mode. | 33 * @return the mime-type of this mode. |
34 */ | 34 */ |
35 String getMimeType(); | 35 String getMimeType(); |
36 | |
37 | |
38 /** | |
39 * Adds a new facet to this mode. | |
40 * | |
41 * @param facet The new facet. | |
42 */ | |
43 void addFacet(Facet facet); | |
44 | |
45 | |
46 /** | |
47 * Returns the number of facets supported by this mode. | |
48 * | |
49 * @return the number of facets. | |
50 */ | |
51 int getFacetCount(); | |
52 | |
53 | |
54 /** | |
55 * Returns the facet at a given position. | |
56 * | |
57 * @param idx The position of a facet. | |
58 * | |
59 * @return a facet. | |
60 */ | |
61 Facet getFacet(int idx); | |
62 | |
63 | |
64 /** | |
65 * Returns a facet based on its name. | |
66 * | |
67 * @param name The name of the facet. | |
68 * | |
69 * @return a facet or null if no such facet is available. | |
70 */ | |
71 Facet getFacet(String name); | |
36 } | 72 } |
37 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 73 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |