public abstract class AbstractBomGenerator extends CycloneDxSchema
Modifier and Type | Field and Description |
---|---|
protected Bom |
bom |
protected Format |
format |
protected com.fasterxml.jackson.databind.ObjectMapper |
mapper |
protected Version |
version |
ALL_VERSIONS, NS_BOM_10, NS_BOM_11, NS_BOM_12, NS_BOM_13, NS_BOM_14, NS_BOM_15, NS_BOM_16, NS_BOM_LATEST, NS_DEPENDENCY_GRAPH_10, VERSION_LATEST
Constructor and Description |
---|
AbstractBomGenerator(Version version,
Bom bom,
Format format) |
Modifier and Type | Method and Description |
---|---|
Format |
getFormat()
Returns the format that this generator creates.
|
Version |
getSchemaVersion()
Returns the version of the CycloneDX schema used by this instance
|
protected void |
setupObjectMapper(boolean isXml) |
getJsonSchema, getXmlSchema, getXmlSchema
protected com.fasterxml.jackson.databind.ObjectMapper mapper
protected final Version version
protected Bom bom
protected final Format format
public Version getSchemaVersion()
public Format getFormat()
protected void setupObjectMapper(boolean isXml)
Copyright © 2017–2025 OWASP Foundation. All rights reserved.