Package caldavclientlibrary :: Package protocol :: Package caldav :: Package definitions :: Module csxml
[hide private]
[frames] | no frames]

Source Code for Module caldavclientlibrary.protocol.caldav.definitions.csxml

 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  CSNamespace = "http://calendarserver.org/ns/" 
20   
21  calendar_proxy_read_for    = QName(CSNamespace, "calendar-proxy-read-for") 
22  calendar_proxy_write_for   = QName(CSNamespace, "calendar-proxy-write-for") 
23  getctag                    = QName(CSNamespace, "getctag") 
24   
25  notification               = QName(CSNamespace, "notification") 
26  notification_URL           = QName(CSNamespace, "notification-URL") 
27   
28  # Are these really in this namespace? 
29  dropbox_home               = QName(CSNamespace, "dropbox-home") 
30  dropbox_home_URL           = QName(CSNamespace, "dropbox-home-URL") 
31   
32  # Defined by caldav-pubsubdiscovery 
33  xmpp_server                = QName(CSNamespace, "xmpp-server") 
34  xmpp_uri                   = QName(CSNamespace, "xmpp-uri") 
35  pushkey                    = QName(CSNamespace, "pushkey") 
36