Mercurial > dive4elements > framework
diff artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.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 | 5e4bc24ea438 |
children | 48d1a9a082c2 |
line wrap: on
line diff
--- a/artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java Wed Jan 27 14:58:20 2010 +0000 +++ b/artifacts/src/main/java/de/intevation/artifacts/ArtifactFactory.java Mon Feb 01 13:54:05 2010 +0000 @@ -29,9 +29,10 @@ * an identifier. * @param context a context from the ArtifactDatabase. * @param identifier unique identifer for the new artifact + * @param data the data containing more details for the setup of an Artifact. * @return a new {@linkplain de.intevation.artifacts.Artifact Artifact} */ - Artifact createArtifact(String identifier, Object context); + Artifact createArtifact(String identifier, Object context, Document data); /** * Setup the factory with a given configuration