| 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 NUMBERNS |
| 23 |
from .style import StyleElement |
| 24 |
|
| 25 |
|
| 26 |
# Autogenerated |
| 27 |
def AmPm(**args): |
| 28 |
return Element(qname=(NUMBERNS, 'am-pm'), **args) |
| 29 |
|
| 30 |
|
| 31 |
def Boolean(**args): |
| 32 |
return Element(qname=(NUMBERNS, 'boolean'), **args) |
| 33 |
|
| 34 |
|
| 35 |
def BooleanStyle(**args): |
| 36 |
return StyleElement(qname=(NUMBERNS, 'boolean-style'), **args) |
| 37 |
|
| 38 |
|
| 39 |
def CurrencyStyle(**args): |
| 40 |
return StyleElement(qname=(NUMBERNS, 'currency-style'), **args) |
| 41 |
|
| 42 |
|
| 43 |
def CurrencySymbol(**args): |
| 44 |
return Element(qname=(NUMBERNS, 'currency-symbol'), **args) |
| 45 |
|
| 46 |
|
| 47 |
def DateStyle(**args): |
| 48 |
return StyleElement(qname=(NUMBERNS, 'date-style'), **args) |
| 49 |
|
| 50 |
|
| 51 |
def Day(**args): |
| 52 |
return Element(qname=(NUMBERNS, 'day'), **args) |
| 53 |
|
| 54 |
|
| 55 |
def DayOfWeek(**args): |
| 56 |
return Element(qname=(NUMBERNS, 'day-of-week'), **args) |
| 57 |
|
| 58 |
|
| 59 |
def EmbeddedText(**args): |
| 60 |
return Element(qname=(NUMBERNS, 'embedded-text'), **args) |
| 61 |
|
| 62 |
|
| 63 |
def Era(**args): |
| 64 |
return Element(qname=(NUMBERNS, 'era'), **args) |
| 65 |
|
| 66 |
|
| 67 |
def Fraction(**args): |
| 68 |
return Element(qname=(NUMBERNS, 'fraction'), **args) |
| 69 |
|
| 70 |
|
| 71 |
def Hours(**args): |
| 72 |
return Element(qname=(NUMBERNS, 'hours'), **args) |
| 73 |
|
| 74 |
|
| 75 |
def Minutes(**args): |
| 76 |
return Element(qname=(NUMBERNS, 'minutes'), **args) |
| 77 |
|
| 78 |
|
| 79 |
def Month(**args): |
| 80 |
return Element(qname=(NUMBERNS, 'month'), **args) |
| 81 |
|
| 82 |
|
| 83 |
def Number(**args): |
| 84 |
return Element(qname=(NUMBERNS, 'number'), **args) |
| 85 |
|
| 86 |
|
| 87 |
def NumberStyle(**args): |
| 88 |
return StyleElement(qname=(NUMBERNS, 'number-style'), **args) |
| 89 |
|
| 90 |
|
| 91 |
def PercentageStyle(**args): |
| 92 |
return StyleElement(qname=(NUMBERNS, 'percentage-style'), **args) |
| 93 |
|
| 94 |
|
| 95 |
def Quarter(**args): |
| 96 |
return Element(qname=(NUMBERNS, 'quarter'), **args) |
| 97 |
|
| 98 |
|
| 99 |
def ScientificNumber(**args): |
| 100 |
return Element(qname=(NUMBERNS, 'scientific-number'), **args) |
| 101 |
|
| 102 |
|
| 103 |
def Seconds(**args): |
| 104 |
return Element(qname=(NUMBERNS, 'seconds'), **args) |
| 105 |
|
| 106 |
|
| 107 |
def Text(**args): |
| 108 |
return Element(qname=(NUMBERNS, 'text'), **args) |
| 109 |
|
| 110 |
|
| 111 |
def TextContent(**args): |
| 112 |
return Element(qname=(NUMBERNS, 'text-content'), **args) |
| 113 |
|
| 114 |
|
| 115 |
def TextStyle(**args): |
| 116 |
return StyleElement(qname=(NUMBERNS, 'text-style'), **args) |
| 117 |
|
| 118 |
|
| 119 |
def TimeStyle(**args): |
| 120 |
return StyleElement(qname=(NUMBERNS, 'time-style'), **args) |
| 121 |
|
| 122 |
|
| 123 |
def WeekOfYear(**args): |
| 124 |
return Element(qname=(NUMBERNS, 'week-of-year'), **args) |
| 125 |
|
| 126 |
|
| 127 |
def Year(**args): |
| 128 |
return Element(qname=(NUMBERNS, 'year'), **args) |