ingo@2: /* ingo@2: * Copyright (c) 2011 by Intevation GmbH ingo@2: * ingo@2: * This program is free software under the LGPL (>=v2.1) ingo@2: * Read the file LGPL.txt coming with the software for details ingo@2: * or visit http://www.gnu.org/licenses/ if it does not exist. ingo@2: */ ingo@2: package de.intevation.artifacts.httpclient.utils; ingo@2: ingo@2: import org.w3c.dom.Document; ingo@2: ingo@2: ingo@2: /** ingo@2: * This interface is used to create new implementation dependend instances of an ingo@2: * Artifact. ingo@2: * ingo@2: * @author Ingo Weinzierl ingo@2: */ ingo@2: public interface ArtifactCreator { ingo@2: ingo@2: /** ingo@2: * This method should return a new Artifact object. ingo@2: * ingo@2: * @param doc A document that describes the artifact. ingo@2: * ingo@2: * @return an implementation dependend instance of an Artifact. ingo@2: */ ingo@2: public Object create(Document doc); ingo@2: } ingo@2: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: