comparison 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
comparison
equal deleted inserted replaced
74:66f43d1e69eb 75:d4c4c23847f5
27 /** 27 /**
28 * Create a new artifact of certain type, given a general purpose context and 28 * Create a new artifact of certain type, given a general purpose context and
29 * an identifier. 29 * an identifier.
30 * @param context a context from the ArtifactDatabase. 30 * @param context a context from the ArtifactDatabase.
31 * @param identifier unique identifer for the new artifact 31 * @param identifier unique identifer for the new artifact
32 * @param data the data containing more details for the setup of an Artifact.
32 * @return a new {@linkplain de.intevation.artifacts.Artifact Artifact} 33 * @return a new {@linkplain de.intevation.artifacts.Artifact Artifact}
33 */ 34 */
34 Artifact createArtifact(String identifier, Object context); 35 Artifact createArtifact(String identifier, Object context, Document data);
35 36
36 /** 37 /**
37 * Setup the factory with a given configuration 38 * Setup the factory with a given configuration
38 * @param config the configuration 39 * @param config the configuration
39 * @param factoryNode the ConfigurationNode of this Factory 40 * @param factoryNode the ConfigurationNode of this Factory

http://dive4elements.wald.intevation.org