view gnv-artifacts/src/main/java/de/intevation/gnv/profile/verticalcrosssection/VerticalCrossSectionMeshArtifact.java @ 280:72f5e8bd2791 0.2

merged geo-backend/0.2
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:45 +0200
parents 3e82b4f1c455
children 70df44021a9f
line wrap: on
line source
/**
 *
 */
package de.intevation.gnv.profile.verticalcrosssection;

import org.apache.log4j.Logger;
import org.w3c.dom.Document;

import de.intevation.artifacts.ArtifactFactory;
import de.intevation.artifacts.CallContext;
import de.intevation.gnv.artifacts.GNVArtifactBase;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 * 
 */
public class VerticalCrossSectionMeshArtifact extends GNVArtifactBase {
    /**
     *
     */
    private static final long serialVersionUID = -2687278172203755640L;
    /**
     * the logger, used to log exceptions and additonaly information
     */
    private static Logger log = Logger
            .getLogger(VerticalCrossSectionMeshArtifact.class);


    /**
     * Constructor
     */
    public VerticalCrossSectionMeshArtifact() {
        super();
        log.debug("VerticalCrossSectionMeshArtifact.Constructor");
        this.name = "verticalCrossSectionMesh";
    }
    
    /**
     * @see de.intevation.artifactdatabase.DefaultArtifact#describe(org.w3c.dom.Document, de.intevation.artifacts.CallContext)
     */
    @Override
    public Document describe(Document data, CallContext context) {
        log.debug("VerticalCrossSectionMeshArtifact.describe");
        return super.createDescibeOutput(context.getMeta(), 
                super.identifier,
                this.getIncludeUIFromDocument(data));
    }

    /**
     * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String,
     *      de.intevation.artifacts.ArtifactFactory, java.lang.Object)
     */
    @Override
    public void setup(String identifier, ArtifactFactory factory, Object context) {
        log.debug("VerticalCrossSectionMeshArtifact.setup");
        super.setup(identifier, factory, context);
    }
}

http://dive4elements.wald.intevation.org