comparison flys-artifacts/src/main/java/org/dive4elements/river/exports/process/Processor.java @ 5831:bd047b71ab37

Repaired internal references
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:06:39 +0200
parents flys-artifacts/src/main/java/de/intevation/flys/exports/process/Processor.java@b195fede1c3b
children
comparison
equal deleted inserted replaced
5830:160f53ee0870 5831:bd047b71ab37
1 package org.dive4elements.river.exports.process;
2
3 import org.w3c.dom.Document;
4
5 import org.dive4elements.artifactdatabase.state.ArtifactAndFacet;
6 import org.dive4elements.river.exports.XYChartGenerator;
7
8 /**
9 * A processor is intended to generate an output e.g. curve in a chart diagramm from
10 * arbitrary data input which can be reused in several generators.
11 *
12 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
13 */
14 public interface Processor {
15
16 /**
17 * Processes data to generate e.g. a chart.
18 *
19 * @param generator XYChartGenerator to add output on.
20 * @param aandf The artifact and facet
21 * @param theme The theme that contains styling information.
22 * @param visible The visibility of the curve.
23 * @param index The index of the curve
24 */
25 public void doOut(
26 XYChartGenerator generator,
27 ArtifactAndFacet aandf,
28 Document theme,
29 boolean visible,
30 int index);
31
32 /**
33 * Returns true if the Processor class is able to generate output for a facet type
34 *
35 * @param facettype Name of the facet type
36 * @return true if the facettype can be processed
37 */
38 public boolean canHandle(String facettype);
39 }

http://dive4elements.wald.intevation.org