Mercurial > dive4elements > framework
diff artifacts/src/main/java/de/intevation/artifacts/Artifact.java @ 75:d4c4c23847f5
Extended the Artifact-Interface-Method setup to be able to put the XML-Document which can contain further Data
to the Artifact-Implementation.
artifacts/trunk@649 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 01 Feb 2010 13:54:05 +0000 |
parents | 9a29899b31e5 |
children | 48d1a9a082c2 |
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/Artifact.java Wed Jan 27 14:58:20 2010 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/Artifact.java Mon Feb 01 13:54:05 2010 +0000 @@ -1,11 +1,11 @@ package de.intevation.artifacts; +import java.io.IOException; +import java.io.OutputStream; +import java.io.Serializable; + import org.w3c.dom.Document; -import java.io.Serializable; -import java.io.OutputStream; -import java.io.IOException; - /** * Interface of the core component of the artifact system: <strong>The artifact</strong>. * <br> @@ -91,11 +91,14 @@ * @param identifier The identifier from artifact database * @param factory The factory which created this artifact. * @param context The global context of the runtime system. + * @param data The data which can be use to setup an Artifact with + * more details. */ public void setup( String identifier, ArtifactFactory factory, - Object context); + Object context, + Document data); /** * Called from artifact database when an artifact is