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