XmlMeta#
- class xsdata.formats.dataclass.models.elements.XmlMeta(clazz, qname, target_qname, nillable, text, choices, elements, wildcards, attributes, any_attributes, wrappers, **kwargs)[source]#
Class binding metadata.
- Parameters:
clazz (
Type
) – The binding modelqname (
str
) – The namespace-qualified nametarget_qname (
Optional
[str
]) – The target namespace-qualified namenillable (
bool
) – Specifies whether this class supports nillable contentelements (
Mapping
[str
,Sequence
[XmlVar
]]) – A mapping of qualified name to sequence of element variablesattributes (
Mapping
[str
,XmlVar
]) – A mapping of qualified name to attribute variableany_attributes (
Sequence
[XmlVar
]) – A list of wildcard variableswrappers (
Mapping
[str
,Sequence
[XmlVar
]]) – a mapping of wrapper names to sequences of wrapped variables
- namespace#
The target namespace extracted from the qualified name
- mixed_content#
Specifies if the class supports mixed content
- __hash__ = None#
- find_wildcard(qname)[source]#
Find a wildcard var that matches the given qname.
If the wildcard has choices, attempt to match and return one of them as well.