ingo@100: /* ingo@100: * Copyright (c) 2010 by Intevation GmbH ingo@100: * ingo@100: * This program is free software under the LGPL (>=v2.1) ingo@100: * Read the file LGPL.txt coming with the software for details ingo@100: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@100: */ ingo@100: sascha@5: package de.intevation.artifactdatabase; sascha@5: sascha@93: import de.intevation.artifacts.ArtifactContextFactory; ingo@293: import de.intevation.artifacts.GlobalContext; sascha@93: sascha@5: import org.w3c.dom.Document; sascha@5: sascha@5: /** sascha@5: * Default implementation of the context factory. sascha@5: * Creates a new @see DefaultArtifactContext. sascha@5: * sascha@77: * @author Sascha L. Teichmann sascha@5: */ sascha@5: public class DefaultArtifactContextFactory sascha@5: implements ArtifactContextFactory sascha@5: { sascha@87: /** sascha@87: * Default constructor. sascha@87: */ sascha@5: public DefaultArtifactContextFactory() { sascha@5: } sascha@5: ingo@293: public GlobalContext createArtifactContext(Document config) { sascha@5: return new DefaultArtifactContext(config); sascha@5: } sascha@5: } sascha@91: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :