Mercurial > dive4elements > http-client
comparison src/main/java/org/dive4elements/artifacts/httpclient/utils/ArtifactCreator.java @ 71:a857866d162f
Moved directories to org.dive4elements
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 11:14:14 +0200 |
parents | src/main/java/de/intevation/artifacts/httpclient/utils/ArtifactCreator.java@2fdfa20cfa63 |
children | 133281653904 |
comparison
equal
deleted
inserted
replaced
70:da691e917f98 | 71:a857866d162f |
---|---|
1 /* | |
2 * Copyright (c) 2011 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 package de.intevation.artifacts.httpclient.utils; | |
9 | |
10 import org.w3c.dom.Document; | |
11 | |
12 | |
13 /** | |
14 * This interface is used to create new implementation dependend instances of an | |
15 * <i>Artifact</i>. | |
16 * | |
17 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | |
18 */ | |
19 public interface ArtifactCreator { | |
20 | |
21 /** | |
22 * This method should return a new Artifact object. | |
23 * | |
24 * @param doc A document that describes the artifact. | |
25 * | |
26 * @return an implementation dependend instance of an <i>Artifact</i>. | |
27 */ | |
28 public Object create(Document doc); | |
29 } | |
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8: |