Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/profile/vertical/VerticalProfileArtifact.java @ 127:f6f0e4ce4a35
merged gnv-artifacts/0.1
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:13:41 +0200 |
parents | ef157bd2fa92 |
children | 7fb9441dd8af |
comparison
equal
deleted
inserted
replaced
49:94a07d1d9316 | 127:f6f0e4ce4a35 |
---|---|
1 /** | |
2 * | |
3 */ | |
4 package de.intevation.gnv.profile.vertical; | |
5 | |
6 import org.apache.log4j.Logger; | |
7 import org.w3c.dom.Document; | |
8 | |
9 import de.intevation.artifacts.ArtifactFactory; | |
10 import de.intevation.artifacts.CallContext; | |
11 import de.intevation.gnv.artifacts.GNVArtifactBase; | |
12 | |
13 /** | |
14 * @author Tim Englich <tim.englich@intevation.de> | |
15 * | |
16 */ | |
17 public class VerticalProfileArtifact extends GNVArtifactBase { | |
18 /** | |
19 * the logger, used to log exceptions and additonaly information | |
20 */ | |
21 private static Logger log = Logger.getLogger(VerticalProfileArtifact.class); | |
22 | |
23 | |
24 /** | |
25 * The UID of this class | |
26 */ | |
27 private static final long serialVersionUID = -8291547966693867205L; | |
28 | |
29 /** | |
30 * Constructor | |
31 */ | |
32 public VerticalProfileArtifact(){ | |
33 super(); | |
34 log.debug("VerticalProfileArtifact.Constructor"); | |
35 this.name = "verticalProfile"; | |
36 } | |
37 | |
38 /** | |
39 * @see de.intevation.artifactdatabase.DefaultArtifact#describe(java.lang.Object) | |
40 */ | |
41 @Override | |
42 public Document describe(CallContext context) { | |
43 log.debug("VerticalProfileArtifact.describe"); | |
44 return super.createDescibeOutput(context.getMeta()); | |
45 } | |
46 | |
47 /** | |
48 * @see de.intevation.gnv.artifacts.GNVArtifactBase#setup(java.lang.String, de.intevation.artifacts.ArtifactFactory, java.lang.Object) | |
49 */ | |
50 @Override | |
51 public void setup(String identifier, ArtifactFactory factory, Object context) { | |
52 log.debug("VerticalProfileArtifact.setup"); | |
53 super.setup(identifier,factory,context); | |
54 } | |
55 } |