Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifactContext.java @ 293:a367a0d011af
Set an interface for the global context; added a method to the artifact database to return an instance of an Artifact.
artifacts/trunk@2331 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 14 Jul 2011 14:22:23 +0000 |
parents | 933bbc9fc11f |
children | b77465617071 |
comparison
equal
deleted
inserted
replaced
292:39c0ff00d188 | 293:a367a0d011af |
---|---|
10 | 10 |
11 import java.util.HashMap; | 11 import java.util.HashMap; |
12 | 12 |
13 import org.w3c.dom.Document; | 13 import org.w3c.dom.Document; |
14 | 14 |
15 import de.intevation.artifacts.GlobalContext; | |
16 | |
15 /** | 17 /** |
16 * Default implementation of the context. | 18 * Default implementation of the context. |
17 * Besides of the configuration it hosts a map to store key/value pairs. | 19 * Besides of the configuration it hosts a map to store key/value pairs. |
18 * | 20 * |
19 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> | 21 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a> |
20 */ | 22 */ |
21 public class DefaultArtifactContext | 23 public class DefaultArtifactContext implements GlobalContext |
22 { | 24 { |
23 /** | 25 /** |
24 * The global configuration document of the artifact database. | 26 * The global configuration document of the artifact database. |
25 */ | 27 */ |
26 protected Document config; | 28 protected Document config; |