Mercurial > dive4elements > gnv-client
view gnv-artifacts/src/test/java/de/intevation/gnv/artifacts/TestArtifactDatabase.java @ 1111:19182eaccc8d
Added a prefix for WMS layers to prevent the mapserver from generating invalid xml that would end in a bug (issue314, issue315).
gnv-artifacts/trunk@1245 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Tue, 29 Jun 2010 16:35:36 +0000 |
parents | 9d2891068ba5 |
children | f953c9a559d8 |
line wrap: on
line source
package de.intevation.gnv.artifacts; import de.intevation.artifacts.ArtifactDatabase; import de.intevation.artifacts.ArtifactDatabaseException; import de.intevation.artifacts.ArtifactFactory; import de.intevation.artifacts.CallMeta; import org.w3c.dom.Document; /** * @author <a href="mailto:tim.englich@intevation.de">Tim Englich</a> * */ public class TestArtifactDatabase implements ArtifactDatabase { private ArtifactFactory artifactFactory = null; /** * Constructor */ public TestArtifactDatabase(ArtifactFactory artifactFactory) { this.artifactFactory = artifactFactory; } /** * @see de.intevation.artifacts.ArtifactDatabase#advance(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta) */ public Document advance(String artifact, Document target, CallMeta callMeta) throws ArtifactDatabaseException { return null; } /** * @see de.intevation.artifacts.ArtifactDatabase#artifactFactoryNamesAndDescriptions() */ public String[][] artifactFactoryNamesAndDescriptions() { return null; } /** * @see de.intevation.artifacts.ArtifactDatabase#createArtifactWithFactory(java.lang.String, de.intevation.artifacts.CallMeta, org.w3c.dom.Document) */ public Document createArtifactWithFactory(String factory, CallMeta callMeta, Document data) throws ArtifactDatabaseException { return null; } /** * @see de.intevation.artifacts.ArtifactDatabase#describe(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta) */ public Document describe(String artifact, Document data, CallMeta callMeta) throws ArtifactDatabaseException { return null; } /** * @see de.intevation.artifacts.ArtifactDatabase#feed(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta) */ public Document feed(String artifact, Document data, CallMeta callMeta) throws ArtifactDatabaseException { return null; } /** * @see de.intevation.artifacts.ArtifactDatabase#getInternalArtifactFactory(java.lang.String) */ public ArtifactFactory getInternalArtifactFactory(String factoryName) { return this.artifactFactory; } /** * @see de.intevation.artifacts.ArtifactDatabase#out(java.lang.String, org.w3c.dom.Document, de.intevation.artifacts.CallMeta) */ public DeferredOutput out(String artifact, Document format, CallMeta callMeta) throws ArtifactDatabaseException { return null; } public Document process(String service, Document input, CallMeta callMeta) { return null; } public String[][] serviceNamesAndDescriptions() { return null; } public Document exportArtifact(String artifact, CallMeta callMeta) throws ArtifactDatabaseException { throw new UnsupportedOperationException("Not supported yet."); } public Document importArtifact(Document data, CallMeta callMeta) throws ArtifactDatabaseException { throw new UnsupportedOperationException("Not supported yet."); } }