Uses of Class
org.spdx.library.model.v2.SpdxDocument
-
Packages that use SpdxDocument Package Description org.spdx.library.model.v2 Model compatible with version 2 of the SPDX spec (2.0, 2.1, 2.2, and 2.3)org.spdx.library.model.v2.license Model for the SPDX version 2 license related objects -
-
Uses of SpdxDocument in org.spdx.library.model.v2
Methods in org.spdx.library.model.v2 that return SpdxDocument Modifier and Type Method Description static SpdxDocument
SpdxModelFactoryCompatV2. createSpdxDocumentV2(org.spdx.storage.IModelStore modelStore, String documentUri, org.spdx.core.IModelCopyManager copyManager)
Create an SPDX version 2.X document with default values for creator, created, licenseListVersion, data license and specVersionSpdxDocument
SpdxDocument. setDocumentDescribes(List<SpdxItem> documentDescribes)
clear and reset document describes to the parameter collectionSpdxDocument
SpdxDocument. setExternalDocumentRefs(Collection<ExternalDocumentRef> externalDocumentRefs)
Clear the externalDocumentRefs and add all elements from externalDocumentRefsSpdxDocument
SpdxDocument. setExtractedLicenseInfos(List<ExtractedLicenseInfo> extractedLicenseInfos)
Clear the extractedLicenseInfos and add all elements from extractedLicenseInfosMethods in org.spdx.library.model.v2 that return types with arguments of type SpdxDocument Modifier and Type Method Description Optional<SpdxDocument>
ExternalDocumentRef. getSpdxDocument()
Returns the SPDX document if it exists within the same model store, otherwise it returns Optional.emptyMethods in org.spdx.library.model.v2 with parameters of type SpdxDocument Modifier and Type Method Description String
ExternalSpdxElement. getExternalDocumentId(SpdxDocument documentReferencingExternal)
String
ExternalSpdxElement. referenceElementId(SpdxDocument documentReferencingExternal)
ExternalDocumentRef
ExternalDocumentRef. setSpdxDocument(SpdxDocument spdxDocument)
-
Uses of SpdxDocument in org.spdx.library.model.v2.license
Methods in org.spdx.library.model.v2.license with parameters of type SpdxDocument Modifier and Type Method Description String
ExternalExtractedLicenseInfo. referenceElementId(SpdxDocument documentReferencingExternal)
-