cyclonedx.output.xml

Attributes

BY_SCHEMA_VERSION

Classes

Xml

XmlV1Dot0

XmlV1Dot1

XmlV1Dot2

XmlV1Dot3

XmlV1Dot4

XmlV1Dot5

XmlV1Dot6

XmlV1Dot7

Module Contents

class cyclonedx.output.xml.Xml(bom: cyclonedx.model.bom.Bom)

Bases: cyclonedx.schema.schema.BaseSchemaVersion, cyclonedx.output.BaseOutput

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot0(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot0

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot1(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot1

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot2(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot2

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot3(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot3

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot4(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot4

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot5(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot5

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot6(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot6

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
class cyclonedx.output.xml.XmlV1Dot7(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot7

property schema_version: cyclonedx.schema.SchemaVersion
property output_format: Literal[cyclonedx.schema.OutputFormat.XML]
generate(force_regeneration: bool = False) None
output_as_string(*, indent: int | str | None = None, **kwargs: Any) str
get_target_namespace() str
cyclonedx.output.xml.BY_SCHEMA_VERSION: dict[cyclonedx.schema.SchemaVersion, type[Xml]]