comparison gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java @ 540:80630520e25a

merged gnv-artifacts/0.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Fri, 28 Sep 2012 12:13:49 +0200
parents 9e5ed3eebf29
children e0d7b8a0bc42
comparison
equal deleted inserted replaced
415:9f4a0b990d27 540:80630520e25a
1 /**
2 *
3 */
4 package de.intevation.gnv.artifacts;
5
6 import org.w3c.dom.Document;
7
8 import de.intevation.artifacts.ArtifactDatabase;
9 import de.intevation.artifacts.ArtifactDatabaseException;
10 import de.intevation.artifacts.ArtifactFactory;
11 import de.intevation.artifacts.CallMeta;
12
13 /**
14 * @author Tim Englich <tim.englich@intevation.de>
15 *
16 */
17 public class TestArtifactDatabase implements ArtifactDatabase {
18
19 private ArtifactFactory artifactFactory = null;
20 /**
21 * Constructor
22 */
23 public TestArtifactDatabase(ArtifactFactory artifactFactory) {
24 this.artifactFactory = artifactFactory;
25 }
26
27 /**
28 * @see de.intevation.artifacts.ArtifactDatabase#advance(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta)
29 */
30 public Document advance(String artifact, Document target, CallMeta callMeta)
31 throws ArtifactDatabaseException {
32
33 return null;
34 }
35
36 /**
37 * @see de.intevation.artifacts.ArtifactDatabase#artifactFactoryNamesAndDescriptions()
38 */
39 public String[][] artifactFactoryNamesAndDescriptions() {
40
41 return null;
42 }
43
44 /**
45 * @see de.intevation.artifacts.ArtifactDatabase#createArtifactWithFactory(java.lang.String, de.intevation.artifacts.CallMeta)
46 */
47 public Document createArtifactWithFactory(String factory, CallMeta callMeta)
48 throws ArtifactDatabaseException {
49
50 return null;
51 }
52
53 /**
54 * @see de.intevation.artifacts.ArtifactDatabase#describe(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta)
55 */
56 public Document describe(String artifact, Document data, CallMeta callMeta)
57 throws ArtifactDatabaseException {
58
59 return null;
60 }
61
62 /**
63 * @see de.intevation.artifacts.ArtifactDatabase#feed(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta)
64 */
65 public Document feed(String artifact, Document data, CallMeta callMeta)
66 throws ArtifactDatabaseException {
67
68 return null;
69 }
70
71 /**
72 * @see de.intevation.artifacts.ArtifactDatabase#getInternalArtifactFactory(java.lang.String)
73 */
74 public ArtifactFactory getInternalArtifactFactory(String factoryName) {
75 return this.artifactFactory;
76 }
77
78 /**
79 * @see de.intevation.artifacts.ArtifactDatabase#out(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta)
80 */
81 public DeferredOutput out(String artifact, Document format,
82 CallMeta callMeta)
83 throws ArtifactDatabaseException {
84
85 return null;
86 }
87
88 public Document process(String service, Document input, CallMeta callMeta) {
89 return null;
90 }
91
92 public String[][] serviceNamesAndDescriptions() {
93 return null;
94 }
95
96 }

http://dive4elements.wald.intevation.org