KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > maverick > http > WebDAVConstants


1 /*
2  * SSL-Explorer
3  *
4  * Copyright (C) 2003-2006 3SP LTD. All Rights Reserved
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public License
8  * as published by the Free Software Foundation; either version 2 of
9  * the License, or (at your option) any later version.
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public
16  * License along with this program; if not, write to the Free Software
17  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18  */

19             
20 package com.maverick.http;
21
22 /**
23  *
24  * @author Lee David Painter <a HREF="mailto:lee@3sp.com">&lt;lee@3sp.com&gt;</a>
25  */

26 public interface WebDAVConstants {
27
28     // XML Elements
29
String JavaDoc ACTIVELOCK_ELEM = "activelock"; //$NON-NLS-1$
30
String JavaDoc DEPTH_ELEM = "depth"; //$NON-NLS-1$
31
String JavaDoc LOCKTOKEN_ELEM = "locktoken"; //$NON-NLS-1$
32
String JavaDoc TIMEOUT_ELEM = "timeout"; //$NON-NLS-1$
33
String JavaDoc COLLECTION_ELEM = "collection"; //$NON-NLS-1$
34
String JavaDoc HREF_ELEM = "href"; //$NON-NLS-1$
35
String JavaDoc LINK_ELEM = "link"; //$NON-NLS-1$
36
String JavaDoc DST_ELEM = "dst"; //$NON-NLS-1$
37
String JavaDoc SRC_ELEM = "src"; //$NON-NLS-1$
38
String JavaDoc LOCKENTRY_ELEM = "lockentry"; //$NON-NLS-1$
39
String JavaDoc LOCKINFO_ELEM = "lockinfo"; //$NON-NLS-1$
40
String JavaDoc LOCKSCOPE_ELEM = "lockscope"; //$NON-NLS-1$
41
String JavaDoc EXCLUSIVE_ELEM = "exclusive"; //$NON-NLS-1$
42
String JavaDoc SHARED_ELEM = "shared"; //$NON-NLS-1$
43
String JavaDoc LOCKTYPE_ELEM = "locktype"; //$NON-NLS-1$
44
String JavaDoc WRITE_ELEM = "write"; //$NON-NLS-1$
45
String JavaDoc MULTISTATUS_ELEM = "multistatus"; //$NON-NLS-1$
46
String JavaDoc RESPONSE_ELEM = "response"; //$NON-NLS-1$
47
String JavaDoc PROPSTAT_ELEM = "propstat"; //$NON-NLS-1$
48
String JavaDoc STATUS_ELEM = "status"; //$NON-NLS-1$
49
String JavaDoc RESPONSEDESCRIPTION_ELEM = "responsedescription"; //$NON-NLS-1$
50
String JavaDoc OWNER_ELEM = "owner"; //$NON-NLS-1$
51
String JavaDoc PROP_ELEM = "prop"; //$NON-NLS-1$
52
String JavaDoc PROPERTYBEHAVIOR_ELEM = "propertybehavior"; //$NON-NLS-1$
53
String JavaDoc KEEPALIVE_ELEM = "keepalive"; //$NON-NLS-1$
54
String JavaDoc OMIT_ELEM = "omit"; //$NON-NLS-1$
55
String JavaDoc PROPERTYUPDATE_ELEM = "propertyupdate"; //$NON-NLS-1$
56
String JavaDoc REMOVE_ELEM = "remove"; //$NON-NLS-1$
57
String JavaDoc SET_ELEM = "set"; //$NON-NLS-1$
58
String JavaDoc PROPFIND_ELEM = "propfind"; //$NON-NLS-1$
59
String JavaDoc ALLPROP_ELEM = "allprop"; //$NON-NLS-1$
60
String JavaDoc PROPNAME_ELEM = "propname"; //$NON-NLS-1$
61

62     // WebDAV properties
63
String JavaDoc CREATIONDATE_PROP = "creationdate"; //$NON-NLS-1$
64
String JavaDoc DISPLAYNAME_PROP = "displayname"; //$NON-NLS-1$
65
String JavaDoc GETCONTENTLANGUAGE_PROP = "getcontentlanguage"; //$NON-NLS-1$
66
String JavaDoc GETCONTENTLENGTH_PROP = "getcontentlength"; //$NON-NLS-1$
67
String JavaDoc GETCONTENTTYPE_PROP = "getcontenttype"; //$NON-NLS-1$
68
String JavaDoc GETETAG_PROP = "getetag"; //$NON-NLS-1$
69
String JavaDoc GETLASTMODIFIED_PROP = "getlastmodified"; //$NON-NLS-1$
70
String JavaDoc LOCKDISCOVERY_PROP = "lockdiscovery"; //$NON-NLS-1$
71
String JavaDoc RESOURCETYPE_PROP = "resourcetype"; //$NON-NLS-1$
72
String JavaDoc SOURCE_PROP = "source"; //$NON-NLS-1$
73
String JavaDoc SUPPORTEDLOCK_PROP = "supportedlock"; //$NON-NLS-1$
74

75     // Constructs for XML document
76
String JavaDoc XML_TEMPLATE = "<?xml version=\"1.0\" ?>"; //$NON-NLS-1$
77
String JavaDoc XML_NAMESPACE_ATTR = "xmlns"; //$NON-NLS-1$
78
String JavaDoc XML_DAV_NAMESPACE = "DAV:"; //$NON-NLS-1$
79

80     String JavaDoc DEPTH_0 = "0"; //$NON-NLS-1$
81
String JavaDoc DEPTH_1 = "1"; //$NON-NLS-1$
82
String JavaDoc DEPTH_INFINITY = "infinity"; //$NON-NLS-1$
83
}
84
Popular Tags