xsdata.models.enums module¶
-
class
xsdata.models.enums.
Namespace
[source]¶ Bases:
enum.Enum
An enumeration.
-
XS
= 'http://www.w3.org/2001/XMLSchema'¶
-
XML
= 'http://www.w3.org/XML/1998/namespace'¶
-
XSI
= 'http://www.w3.org/2001/XMLSchema-instance'¶
-
XLINK
= 'http://www.w3.org/1999/xlink'¶
-
property
uri
¶
-
property
prefix
¶
-
property
location
¶
-
-
class
xsdata.models.enums.
NamespaceType
[source]¶ Bases:
enum.Enum
- Variables
-
ANY
= '##any'¶
-
OTHER
= '##other'¶
-
LOCAL
= '##local'¶
-
TARGET
= '##targetNamespace'¶
-
class
xsdata.models.enums.
FormType
[source]¶ Bases:
enum.Enum
An enumeration.
-
QUALIFIED
= 'qualified'¶
-
UNQUALIFIED
= 'unqualified'¶
-
-
class
xsdata.models.enums.
Mode
[source]¶ Bases:
enum.Enum
An enumeration.
-
NONE
= 'none'¶
-
SUFFIX
= 'suffix'¶
-
INTERLEAVE
= 'interleave'¶
-
-
class
xsdata.models.enums.
DataType
(code, local)[source]¶ Bases:
enum.Enum
An enumeration.
-
QMAP
= ('qmap', (<class 'lxml.etree.QName'>, <class 'str'>))¶
-
OBJECT
= ('object', <class 'object'>)¶
-
ANY_ATOMIC_TYPE
= ('anyAtomicType', <class 'str'>)¶
-
ANY_URI
= ('anyURI', <class 'str'>)¶
-
ANY_SIMPLE_TYPE
= ('anySimpleType', <class 'str'>)¶
-
ANY_TYPE
= ('anyType', <class 'object'>)¶
-
BASE
= ('base', <class 'str'>)¶
-
BASE64_BINARY
= ('base64Binary', <class 'str'>)¶
-
BOOLEAN
= ('boolean', <class 'bool'>)¶
-
BYTE
= ('byte', <class 'int'>)¶
-
DATE
= ('date', <class 'str'>)¶
-
DATE_TIME
= ('dateTime', <class 'str'>)¶
-
DATE_TIMESTAMP
= ('dateTimeStamp', <class 'str'>)¶
-
DAY_TIME_DURATION
= ('dayTimeDuration', <class 'str'>)¶
-
YEAR_MONTH_DURATION
= ('yearMonthDuration', <class 'str'>)¶
-
DECIMAL
= ('decimal', <class 'decimal.Decimal'>)¶
-
DERIVATION_CONTROL
= ('derivationControl', <class 'str'>)¶
-
DOUBLE
= ('double', <class 'decimal.Decimal'>)¶
-
DURATION
= ('duration', <class 'str'>)¶
-
ENTITIES
= ('ENTITIES', <class 'int'>)¶
-
ENTITY
= ('ENTITY', <class 'int'>)¶
-
FLOAT
= ('float', <class 'float'>)¶
-
G_DAY
= ('gDay', <class 'str'>)¶
-
G_MONTH
= ('gMonth', <class 'str'>)¶
-
G_MONTH_DAY
= ('gMonthDay', <class 'str'>)¶
-
G_YEAR
= ('gYear', <class 'str'>)¶
-
G_YEAR_MONTH
= ('gYearMonth', <class 'str'>)¶
-
HEX_BINARY
= ('hexBinary', <class 'str'>)¶
-
ID
= ('ID', <class 'str'>)¶
-
IDREF
= ('IDREF', <class 'str'>)¶
-
IDREFS
= ('IDREFS', <class 'str'>)¶
-
INT
= ('int', <class 'int'>)¶
-
INTEGER
= ('integer', <class 'int'>)¶
-
LANG
= ('lang', <class 'str'>)¶
-
LANGUAGE
= ('language', <class 'str'>)¶
-
LONG
= ('long', <class 'int'>)¶
-
NAME
= ('Name', <class 'str'>)¶
-
NCNAME
= ('NCName', <class 'str'>)¶
-
NEGATIVE_INTEGER
= ('negativeInteger', <class 'int'>)¶
-
NMTOKEN
= ('NMTOKEN', <class 'str'>)¶
-
NMTOKENS
= ('NMTOKENS', <class 'str'>)¶
-
NON_NEGATIVE_INTEGER
= ('nonNegativeInteger', <class 'int'>)¶
-
NON_POSITIVE_INTEGER
= ('nonPositiveInteger', <class 'int'>)¶
-
NORMALIZED_STRING
= ('normalizedString', <class 'str'>)¶
-
NOTATION
= ('NOTATION', <class 'str'>)¶
-
POSITIVE_INTEGER
= ('positiveInteger', <class 'int'>)¶
-
QNAME
= ('QName', <class 'str'>)¶
-
SHORT
= ('short', <class 'int'>)¶
-
SIMPLE_DERIVATION_SET
= ('simpleDerivationSet', <class 'str'>)¶
-
STRING
= ('string', <class 'str'>)¶
-
TIME
= ('time', <class 'str'>)¶
-
TOKEN
= ('token', <class 'str'>)¶
-
UNSIGNED_BYTE
= ('unsignedByte', <class 'int'>)¶
-
UNSIGNED_INT
= ('unsignedInt', <class 'int'>)¶
-
UNSIGNED_LONG
= ('unsignedLong', <class 'int'>)¶
-
UNSIGNED_SHORT
= ('unsignedShort', <class 'int'>)¶
-
property
xml_prefixed
¶
-
-
class
xsdata.models.enums.
TagType
[source]¶ Bases:
object
-
ALL
= 'All'¶
-
ANNOTATION
= 'Annotation'¶
-
ANY
= 'Any'¶
-
ANY_ATTRIBUTE
= 'AnyAttribute'¶
-
APPINFO
= 'Appinfo'¶
-
ASSERTION
= 'Assertion'¶
-
ATTRIBUTE
= 'Attribute'¶
-
ATTRIBUTE_GROUP
= 'AttributeGroup'¶
-
CHOICE
= 'Choice'¶
-
COMPLEX_CONTENT
= 'ComplexContent'¶
-
COMPLEX_TYPE
= 'ComplexType'¶
-
DOCUMENTATION
= 'Documentation'¶
-
ELEMENT
= 'Element'¶
-
EXTENSION
= 'Extension'¶
-
FIELD
= 'Field'¶
-
GROUP
= 'Group'¶
-
IMPORT
= 'Import'¶
-
INCLUDE
= 'Include'¶
-
KEY
= 'Key'¶
-
KEYREF
= 'Keyref'¶
-
LIST
= 'List'¶
-
NOTATION
= 'Notation'¶
-
REDEFINE
= 'Redefine'¶
-
RESTRICTION
= 'Restriction'¶
-
SCHEMA
= 'Schema'¶
-
SELECTOR
= 'Selector'¶
-
SEQUENCE
= 'Sequence'¶
-
SIMPLE_CONTENT
= 'SimpleContent'¶
-
SIMPLE_TYPE
= 'SimpleType'¶
-
UNION
= 'Union'¶
-
UNIQUE
= 'Unique'¶
-
ENUMERATION
= 'Enumeration'¶
-
FRACTION_DIGITS
= 'FractionDigits'¶
-
LENGTH
= 'Length'¶
-
MAX_EXCLUSIVE
= 'MaxExclusive'¶
-
MAX_INCLUSIVE
= 'MaxInclusive'¶
-
MAX_LENGTH
= 'MaxLength'¶
-
MIN_EXCLUSIVE
= 'MinExclusive'¶
-
MIN_INCLUSIVE
= 'MinInclusive'¶
-
MIN_LENGTH
= 'MinLength'¶
-
PATTERN
= 'Pattern'¶
-
TOTAL_DIGITS
= 'TotalDigits'¶
-
WHITE_SPACE
= 'WhiteSpace'¶
-