ODFPY  1.2.0
 All Classes Namespaces Files Functions Variables
dc.py
Go to the documentation of this file.
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2006-2007 Søren Roug, European Environment Agency
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License, or (at your option) any later version.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17 #
18 # Contributor(s):
19 #
20 
21 from namespaces import DCNS
22 from element import Element
23 
24 # Autogenerated
25 def Creator(**args):
26  return Element(qname = (DCNS,'creator'), **args)
27 
28 def Date(**args):
29  return Element(qname = (DCNS,'date'), **args)
30 
31 def Description(**args):
32  return Element(qname = (DCNS,'description'), **args)
33 
34 def Language(**args):
35  return Element(qname = (DCNS,'language'), **args)
36 
37 def Subject(**args):
38  return Element(qname = (DCNS,'subject'), **args)
39 
40 def Title(**args):
41  return Element(qname = (DCNS,'title'), **args)
42 
43 # The following complete the Dublin Core elements, but there is no
44 # guarantee a compliant implementation of OpenDocument will preserve
45 # these elements
46 
47 #def Contributor(**args):
48 # return Element(qname = (DCNS,'contributor'), **args)
49 
50 #def Coverage(**args):
51 # return Element(qname = (DCNS,'coverage'), **args)
52 
53 #def Format(**args):
54 # return Element(qname = (DCNS,'format'), **args)
55 
56 #def Identifier(**args):
57 # return Element(qname = (DCNS,'identifier'), **args)
58 
59 #def Publisher(**args):
60 # return Element(qname = (DCNS,'publisher'), **args)
61 
62 #def Relation(**args):
63 # return Element(qname = (DCNS,'relation'), **args)
64 
65 #def Rights(**args):
66 # return Element(qname = (DCNS,'rights'), **args)
67 
68 #def Source(**args):
69 # return Element(qname = (DCNS,'source'), **args)
70 
71 #def Type(**args):
72 # return Element(qname = (DCNS,'type'), **args)
def Title
Definition: dc.py:40
def Language
Definition: dc.py:34
def Date
Definition: dc.py:28
def Creator
Definition: dc.py:25
def Subject
Definition: dc.py:37
def Description
Definition: dc.py:31