cyclonedx.output.xml

Module Contents

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

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

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

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

property schema_version: cyclonedx.schema.SchemaVersion[source]
XML_VERSION_DECLARATION: str = '<?xml version="1.0" encoding="UTF-8"?>'[source]
generate(force_regeneration: bool = False) None[source]
output_as_string() str[source]
get_target_namespace() str[source]
class cyclonedx.output.xml.XmlV1Dot0(bom: cyclonedx.model.bom.Bom)[source]

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot0

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

_create_bom_element() xml.etree.ElementTree.Element[source]
class cyclonedx.output.xml.XmlV1Dot1(bom: cyclonedx.model.bom.Bom)[source]

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot1

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

class cyclonedx.output.xml.XmlV1Dot2(bom: cyclonedx.model.bom.Bom)[source]

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot2

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

class cyclonedx.output.xml.XmlV1Dot3(bom: cyclonedx.model.bom.Bom)[source]

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot3

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

class cyclonedx.output.xml.XmlV1Dot4(bom: cyclonedx.model.bom.Bom)[source]

Bases: Xml, cyclonedx.schema.schema.SchemaVersion1Dot4

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