view artifacts/src/main/java/org/dive4elements/river/exports/process/WDiffProcessor.java @ 7102:13a842224694 generator-refactoring

Add WDiffProcessor
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 23 Sep 2013 15:46:05 +0200
parents
children 5009b151f146
line wrap: on
line source
/* Copyright (C) 2013 by Bundesanstalt für Gewässerkunde
 * Software engineering by Intevation GmbH
 *
 * This file is Free Software under the GNU AGPL (>=v3)
 * and comes with ABSOLUTELY NO WARRANTY! Check out the
 * documentation coming with Dive4Elements River for details.
 */

package org.dive4elements.river.exports.process;

import org.dive4elements.artifactdatabase.state.ArtifactAndFacet;
import org.dive4elements.river.artifacts.model.FacetTypes;
import org.dive4elements.river.artifacts.model.WKms;
import org.dive4elements.river.themes.ThemeDocument;

public class WDiffProcessor extends WOutProcessor {

    @Override
    public boolean canHandle(String facetType) {
        if (facetType == null) {
            return false;
        }
        return facetType.equals(FacetTypes.W_DIFFERENCES);
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org