-
CDataFieldMixin — Get value or cdata.
-
XmlStringField — Get value or cdata.
-
XmlIssueField — Get value or cdata.
-
XmlDateField — Get value or cdata.
-
XmlDateTimeField — Get value or cdata.
-
XmlPdfDateTimeField — Get value or cdata.
-
XmlEnumField — Get value or cdata.
-
XmlReadingDirectionField — Get value or cdata.
-
XmlOriginalFormatField — Get value or cdata.
-
XmlComicInfoMangaField — Get value or cdata.
-
XmlYesNoField — Get value or cdata.
-
XmlBooleanField — Get value or cdata.
-
XmlIntegerField — Get value or cdata.
-
XmlDecimalField — Get value or cdata.
-
XmlLanguageField — Get value or cdata.
-
XmlListFieldMixin — Get value or cdata.
-
XmlListField — XML List Field.
-
XmlStringListField — XML String List Field.
-
XmlStringSetField — XML String Set Field.
-
XmlLegacyNestedMDStringSetField — XML Legacy Nested String Set Field.
-
XmlIntegerListField — XML Integer List Field.
comicbox.fields.xml_fields¶
source module comicbox.fields.xml_fields
Xml versions of fields.
Classes
Functions
-
get_cdata — Return the cdata value if it exists or the whole value.
-
create_sub_tag_field — Create a nested single schema, common to xml schemas.
-
xml_polyfield — Get a Union of nested schemas and fields.
-
xml_list_polyfield — Get a List of unions.
source get_cdata(value: Any) → Any
Return the cdata value if it exists or the whole value.
source class CDataFieldMixin()
Get value or cdata.
source class XmlStringField()
Bases : StringField, CDataFieldMixin
Get value or cdata.
source class XmlIssueField()
Bases : IssueField, CDataFieldMixin
Get value or cdata.
source class XmlDateField()
Bases : DateField, CDataFieldMixin
Get value or cdata.
source class XmlDateTimeField()
Bases : DateTimeField, CDataFieldMixin
Get value or cdata.
source class XmlPdfDateTimeField()
Bases : PdfDateTimeField, CDataFieldMixin
Get value or cdata.
source class XmlEnumField()
Bases : EnumField, CDataFieldMixin
Get value or cdata.
source class XmlReadingDirectionField()
Bases : ReadingDirectionField, CDataFieldMixin
Get value or cdata.
source class XmlOriginalFormatField()
Bases : OriginalFormatField, CDataFieldMixin
Get value or cdata.
source class XmlComicInfoMangaField()
Bases : ComicInfoMangaField, CDataFieldMixin
Get value or cdata.
source class XmlYesNoField()
Bases : YesNoField, CDataFieldMixin
Get value or cdata.
source class XmlBooleanField()
Bases : BooleanField, CDataFieldMixin
Get value or cdata.
source class XmlIntegerField()
Bases : IntegerField, CDataFieldMixin
Get value or cdata.
source class XmlDecimalField()
Bases : DecimalField, CDataFieldMixin
Get value or cdata.
source class XmlLanguageField()
Bases : LanguageField, CDataFieldMixin
Get value or cdata.
source class XmlListFieldMixin()
source staticmethod XmlListFieldMixin.get_tag_value(value: Any) → Any
Get data for the tag value.
source class XmlListField()
Bases : XmlListFieldMixin, ListField
XML List Field.
source class XmlStringListField()
Bases : XmlListFieldMixin, StringListField
XML String List Field.
source class XmlStringSetField()
Bases : XmlListFieldMixin, StringSetField
XML String Set Field.
source class XmlLegacyNestedMDStringSetField()
Bases : XmlListFieldMixin, LegacyNestedMDStringSetField
XML Legacy Nested String Set Field.
source class XmlIntegerListField()
Bases : XmlListFieldMixin, IntegerListField
XML Integer List Field.
source create_sub_tag_field(sub_tag: str, field: Field) → Nested
Create a nested single schema, common to xml schemas.
source xml_polyfield(schema_class: type[BaseSubSchema], field: Field) → Union
Get a Union of nested schemas and fields.
source xml_list_polyfield(schema_class: type[BaseSubSchema], field: Field, sort_keys: tuple[str, …] = (‘#text’,), **kwargs: Any) → ListField
Get a List of unions.