1
2
3
4
5
6
7
8
9
10
11
12
13 package org.abstracthorizon.danube.webdav.xml.dav.response.properties;
14
15 import org.abstracthorizon.danube.http.Status;
16 import org.abstracthorizon.danube.webdav.util.NamespacesProvider;
17 import org.abstracthorizon.danube.webdav.xml.common.XMLUtils;
18 import org.abstracthorizon.danube.webdav.xml.dav.DAVNamespace;
19
20 import java.io.PrintWriter;
21
22
23
24
25
26
27 public class Source extends ResponseProperty {
28
29
30 public static final String TAG_NAME = "source";
31
32
33
34
35
36 public Source(Status status) {
37 super(status);
38 }
39
40 @Override
41 public String toString() {
42 return "Source[]";
43 }
44
45
46
47
48
49
50 public void render(PrintWriter writer, NamespacesProvider provider) {
51 writer.println(XMLUtils.createEmptyTag(provider, DAVNamespace.DAV_NAMESPACE_URL, TAG_NAME));
52 }
53 }