Package caldavclientlibrary :: Package protocol :: Package webdav :: Package definitions :: Module davxml
[hide private]
[frames] | no frames]

Source Code for Module caldavclientlibrary.protocol.webdav.definitions.davxml

 1  ## 
 2  # Copyright (c) 2007-2016 Apple Inc. All rights reserved. 
 3  # 
 4  # Licensed under the Apache License, Version 2.0 (the "License"); 
 5  # you may not use this file except in compliance with the License. 
 6  # You may obtain a copy of the License at 
 7  # 
 8  # http://www.apache.org/licenses/LICENSE-2.0 
 9  # 
10  # Unless required by applicable law or agreed to in writing, software 
11  # distributed under the License is distributed on an "AS IS" BASIS, 
12  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
13  # See the License for the specific language governing permissions and 
14  # limitations under the License. 
15  ## 
16   
17  from xml.etree.ElementTree import QName 
18   
19  DAVNamespace = "DAV:" 
20   
21  propfind       = QName(DAVNamespace, "propfind") 
22  propname       = QName(DAVNamespace, "propname") 
23  allprop        = QName(DAVNamespace, "allprop") 
24  prop           = QName(DAVNamespace, "prop") 
25  propstat       = QName(DAVNamespace, "propstat") 
26  propertyupdate = QName(DAVNamespace, "propertyupdate") 
27  remove         = QName(DAVNamespace, "remove") 
28  set            = QName(DAVNamespace, "set") 
29   
30  getetag            = QName(DAVNamespace, "getetag") 
31  creationdate       = QName(DAVNamespace, "creationdate") 
32  displayname        = QName(DAVNamespace, "displayname") 
33  getcontentlanguage = QName(DAVNamespace, "getcontentlanguage") 
34  getcontentlength   = QName(DAVNamespace, "getcontentlength") 
35  getcontenttype     = QName(DAVNamespace, "getcontenttype") 
36  getlastmodified    = QName(DAVNamespace, "getlastmodified") 
37  resourcetype       = QName(DAVNamespace, "resourcetype") 
38  collection         = QName(DAVNamespace, "collection") 
39  synctoken          = QName(DAVNamespace, "sync-token") 
40   
41  lockinfo      = QName(DAVNamespace, "lockinfo") 
42  lockscope     = QName(DAVNamespace, "lockscope") 
43  locktype      = QName(DAVNamespace, "locktype") 
44  owner         = QName(DAVNamespace, "owner") 
45  exclusive     = QName(DAVNamespace, "exclusive") 
46  shared        = QName(DAVNamespace, "shared") 
47  write         = QName(DAVNamespace, "write") 
48   
49  acl           = QName(DAVNamespace, "acl") 
50  ace           = QName(DAVNamespace, "ace") 
51  invert        = QName(DAVNamespace, "invert") 
52  principal     = QName(DAVNamespace, "principal") 
53  privilege     = QName(DAVNamespace, "privilege") 
54  grant         = QName(DAVNamespace, "grant") 
55  deny          = QName(DAVNamespace, "deny") 
56  protected     = QName(DAVNamespace, "protected") 
57  inherited     = QName(DAVNamespace, "inherited") 
58   
59  href                            = QName(DAVNamespace, "href") 
60  all                             = QName(DAVNamespace, "all") 
61  authenticated                   = QName(DAVNamespace, "authenticated") 
62  unauthenticated                 = QName(DAVNamespace, "unauthenticated") 
63  property                        = QName(DAVNamespace, "property") 
64  self                            = QName(DAVNamespace, "self") 
65  read                            = QName(DAVNamespace, "read") 
66  write                           = QName(DAVNamespace, "write") 
67  write_properties                = QName(DAVNamespace, "write-properties") 
68  write_content                   = QName(DAVNamespace, "write-content") 
69  read_acl                        = QName(DAVNamespace, "read-acl") 
70  read_current_user_privilege_set = QName(DAVNamespace, "read-current-user-privilege-set") 
71  write_acl                       = QName(DAVNamespace, "write-acl") 
72  bind                            = QName(DAVNamespace, "bind") 
73  unbind                          = QName(DAVNamespace, "unbind") 
74  all                             = QName(DAVNamespace, "all") 
75   
76  multistatus         = QName(DAVNamespace, "multistatus") 
77  response            = QName(DAVNamespace, "response") 
78  responsedescription = QName(DAVNamespace, "responsedescription") 
79  status              = QName(DAVNamespace, "status") 
80   
81  principal_match     = QName(DAVNamespace, "principal-match") 
82   
83  principal_collection_set = QName(DAVNamespace, "principal-collection-set") 
84   
85  alternate_URI_set   = QName(DAVNamespace, "alternate-URI-set") 
86  principal_URL       = QName(DAVNamespace, "principal-URL") 
87  group_member_set    = QName(DAVNamespace, "group-member-set") 
88  group_membership    = QName(DAVNamespace, "group-membership") 
89   
90  quota_available_bytes = QName(DAVNamespace, "quota-available-bytes") 
91  quota_used_bytes      = QName(DAVNamespace, "quota-used-bytes") 
92   
93  current_user_principal = QName(DAVNamespace, "current-user-principal") 
94   
95  mkcol          = QName(DAVNamespace, "mkcol") 
96  mkcol_response = QName(DAVNamespace, "mkcol-response") 
97