Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/rest/ArtifactResource.java @ 93:e27cf9c84eb8
Unified imports.
artifacts/trunk@849 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 28 Mar 2010 15:57:40 +0000 |
parents | d348fe1fd822 |
children | 933bbc9fc11f |
comparison
equal
deleted
inserted
replaced
92:73d0ebae81d7 | 93:e27cf9c84eb8 |
---|---|
1 package de.intevation.artifactdatabase.rest; | 1 package de.intevation.artifactdatabase.rest; |
2 | |
3 import de.intevation.artifactdatabase.XMLUtils; | |
4 | |
5 import de.intevation.artifacts.Artifact; | |
6 import de.intevation.artifacts.ArtifactDatabase; | |
7 import de.intevation.artifacts.ArtifactDatabaseException; | |
8 import de.intevation.artifacts.ArtifactNamespaceContext; | |
9 | |
10 import java.io.IOException; | |
11 | |
12 import org.apache.log4j.Logger; | |
13 | |
14 import org.restlet.data.MediaType; | |
15 import org.restlet.data.Request; | |
16 import org.restlet.data.Response; | |
17 import org.restlet.data.Status; | |
18 | |
19 import org.restlet.ext.xml.DomRepresentation; | |
20 | |
21 import org.restlet.representation.EmptyRepresentation; | |
22 import org.restlet.representation.Representation; | |
2 | 23 |
3 import org.restlet.resource.ResourceException; | 24 import org.restlet.resource.ResourceException; |
4 | 25 |
5 import org.restlet.representation.Representation; | |
6 import org.restlet.representation.EmptyRepresentation; | |
7 | |
8 import org.restlet.ext.xml.DomRepresentation; | |
9 | |
10 import de.intevation.artifacts.ArtifactDatabase; | |
11 import de.intevation.artifacts.ArtifactDatabaseException; | |
12 import de.intevation.artifacts.Artifact; | |
13 import de.intevation.artifacts.ArtifactNamespaceContext; | |
14 | |
15 import org.restlet.data.Request; | |
16 import org.restlet.data.Response; | |
17 import org.restlet.data.Status; | |
18 import org.restlet.data.MediaType; | |
19 | |
20 import org.apache.log4j.Logger; | |
21 | |
22 import org.w3c.dom.Document; | 26 import org.w3c.dom.Document; |
23 | |
24 import java.io.IOException; | |
25 | |
26 import de.intevation.artifactdatabase.XMLUtils; | |
27 | 27 |
28 /** | 28 /** |
29 * Resource to expose the core artifact methods | 29 * Resource to expose the core artifact methods |
30 * (describe, feed and advance) via REST. | 30 * (describe, feed and advance) via REST. |
31 * | 31 * |