cyclonedx.output.xml

Attributes

BY_SCHEMA_VERSION

Classes

Xml

Helper class that provides a standard way to create an ABC using

XmlV1Dot0

Helper class that provides a standard way to create an ABC using

XmlV1Dot1

Helper class that provides a standard way to create an ABC using

XmlV1Dot2

Helper class that provides a standard way to create an ABC using

XmlV1Dot3

Helper class that provides a standard way to create an ABC using

XmlV1Dot4

Helper class that provides a standard way to create an ABC using

XmlV1Dot5

Helper class that provides a standard way to create an ABC using

XmlV1Dot6

Helper class that provides a standard way to create an ABC using

Module Contents

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

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

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot0(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot0

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot1(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot1

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot2(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot2

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot3(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot3

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot4(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot4

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot5(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot5

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
class cyclonedx.output.xml.XmlV1Dot6(bom: cyclonedx.model.bom.Bom)

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot6

Helper class that provides a standard way to create an ABC using inheritance.

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
property schema_version_enum: cyclonedx.schema.SchemaVersion
Abstractmethod:

get_schema_version() str
property generated: bool
get_bom() cyclonedx.model.bom.Bom
set_bom(bom: cyclonedx.model.bom.Bom) None
output_to_file(filename: str, allow_overwrite: bool = False, *, indent: int | str | None = None, **kwargs: Any) None
cyclonedx.output.xml.BY_SCHEMA_VERSION: Dict[cyclonedx.schema.SchemaVersion, Type[Xml]]