view gnv-artifacts/src/main/java/de/intevation/gnv/profile/horizontalcrosssection/HorizontalCrossSectionMeshArtifact.java @ 1118:c01c220312d0

Made it compile again with an updated ArtifactDatabase. gnv-artifacts/trunk@4137 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Mar 2012 08:31:46 +0000
parents f953c9a559d8
children
line wrap: on
line source
/*
 * Copyright (c) 2010 by Intevation GmbH
 *
 * This program is free software under the LGPL (>=v2.1)
 * Read the file LGPL.txt coming with the software for details
 * or visit http://www.gnu.org/licenses/ if it does not exist.
 */

package de.intevation.gnv.profile.horizontalcrosssection;

import de.intevation.artifacts.ArtifactFactory;
import de.intevation.artifacts.CallMeta;

import de.intevation.gnv.artifacts.GNVArtifactBase;

import org.apache.log4j.Logger;

import org.w3c.dom.Document;

/**
 * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a>
 */
public class HorizontalCrossSectionMeshArtifact extends GNVArtifactBase {
    /**
     *
     */
    private static final long serialVersionUID = -2687278172203755640L;
    /**
     * the logger, used to log exceptions and additonaly information
     */
    private static Logger log = Logger
            .getLogger(HorizontalCrossSectionMeshArtifact.class);


    /**
     * Constructor
     */
    public HorizontalCrossSectionMeshArtifact() {
        super();
        log.debug("HorizontalCrossSectionMeshArtifact.Constructor");
        this.name = "horizontalCrossSectionMesh";
    }


   /**
    * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String,
    * de.intevation.artifacts.ArtifactFactory, java.lang.Object,
    * org.w3c.dom.Document)
    */
    @Override
    public void setup(
        String          identifier,
        ArtifactFactory factory,
        Object          context,
        CallMeta        meta,
        Document        data
    ) {
        log.debug("HorizontalCrossSectionMeshArtifact.setup");
        super.setup(identifier, factory, context, meta, data);
    }


    /**
     * This method is called just before an artifact is exported. It removes all
     * data which should not serialized into an export.
     *
     * @param context CallContext object.
     */
    @Override
    public void cleanup(Object context) {
        if (current != null)
            current.cleanup(context);

        super.cleanup(context);
    }
}
// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org