diff artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java @ 24:d5dc2900392f

* Added callback parameter to Artifact.setup() * New namespace context for artifacts. artifacts/trunk@58 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Thu, 10 Sep 2009 08:57:09 +0000
parents 63a8aa276693
children 83a059c204f8
line wrap: on
line diff
--- a/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java	Thu Sep 10 08:14:03 2009 +0000
+++ b/artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultArtifact.java	Thu Sep 10 08:57:09 2009 +0000
@@ -6,6 +6,7 @@
 import javax.xml.parsers.ParserConfigurationException;
 
 import de.intevation.artifacts.Artifact;
+import de.intevation.artifacts.ArtifactFactory;
 
 import org.apache.log4j.Logger;
 
@@ -17,16 +18,6 @@
 {
     private static Logger logger = Logger.getLogger(DefaultArtifact.class);
     
-    /**
-     * The URI of the Namespace of the Artifacts
-     */
-    public final static String NAMESPACE_URI = "http://www.intevation.de/2009/artifacts";
-    
-    /**
-     * The XML-Prefix for the Artifacts-Namespae
-     */
-    public final static String NAMESPACE_PREFIX = "art";
-
     protected String identifier;
 
     public DefaultArtifact() {
@@ -69,7 +60,7 @@
         return new byte[0];
     }
 
-    public void setup(String identifier, Object context) {
+    public void setup(String identifier, ArtifactFactory factory, Object context) {
         this.identifier = identifier;
     }
 

http://dive4elements.wald.intevation.org