| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.html | |
| org.spdx.merge | |
| org.spdx.rdfparser | |
| org.spdx.rdfparser.license |
Classes implementing the license model for the SPDX Parser
|
| org.spdx.rdfparser.model |
Model for the SPDX 2.0+ specification.
|
| Modifier and Type | Method and Description |
|---|---|
ExtractedLicenseInfo[] |
SpdxComparer.getUniqueExtractedLicenses(int docIndexA,
int docIndexB)
Retrieves any unique extracted licenses fromt the first SPDX document index
relative to the second - unique is determined by the license text matching
|
| Constructor and Description |
|---|
SpdxLicenseDifference(ExtractedLicenseInfo licenseA,
ExtractedLicenseInfo licenseB) |
| Constructor and Description |
|---|
ExtractedLicensingInfoContext(ExtractedLicenseInfo spdxNonStandardLicense,
Map<String,String> spdxIdToUrl) |
| Modifier and Type | Method and Description |
|---|---|
ExtractedLicenseInfo[] |
SpdxLicenseInfoMerger.cloneNonStdLic(ExtractedLicenseInfo[] orgNonStdLicArray) |
ExtractedLicenseInfo |
SpdxLicenseMapper.mappingNewNonStdLic(SpdxDocument outputDoc,
SpdxDocument subDoc,
ExtractedLicenseInfo subNonStdLicInfo)
Creates a new non-standard license in the outputDoc and creates a mapping
between the output document non-standard license and the subDoc non standard license
This particular non-standard license is unique to the outputDoc document.
|
ExtractedLicenseInfo[] |
SpdxLicenseInfoMerger.mergeNonStdLic(SpdxDocument[] subDocs) |
| Modifier and Type | Method and Description |
|---|---|
ExtractedLicenseInfo[] |
SpdxLicenseInfoMerger.cloneNonStdLic(ExtractedLicenseInfo[] orgNonStdLicArray) |
void |
SpdxLicenseMapper.mappingExistingNonStdLic(SpdxDocument output,
ExtractedLicenseInfo outputDocLicense,
SpdxDocument subDocs,
ExtractedLicenseInfo subLicense)
Maps a subDoc nonstandard license to an existing output document nonstandard license
|
ExtractedLicenseInfo |
SpdxLicenseMapper.mappingNewNonStdLic(SpdxDocument outputDoc,
SpdxDocument subDoc,
ExtractedLicenseInfo subNonStdLicInfo)
Creates a new non-standard license in the outputDoc and creates a mapping
between the output document non-standard license and the subDoc non standard license
This particular non-standard license is unique to the outputDoc document.
|
| Modifier and Type | Method and Description |
|---|---|
ExtractedLicenseInfo |
SpdxDocumentContainer.addNewExtractedLicenseInfo(String licenseText)
Adds a new non-standard license containing the text provided.
|
ExtractedLicenseInfo |
SPDXDocument.addNewExtractedLicenseInfo(String licenseText)
Deprecated.
Adds a new non-standard license containing the text provided.
|
ExtractedLicenseInfo |
SpdxDocumentContainer.getExtractedLicense(String id) |
ExtractedLicenseInfo[] |
SpdxDocumentContainer.getExtractedLicenseInfos() |
ExtractedLicenseInfo[] |
SPDXDocument.getExtractedLicenseInfos()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpdxDocumentContainer.addExtractedLicenseInfos(ExtractedLicenseInfo license) |
void |
SpdxDocumentContainer.addNewExtractedLicenseInfo(ExtractedLicenseInfo license)
Adds the license as a new ExtractedLicenseInfo
|
void |
SPDXDocument.addNewExtractedLicenseInfo(ExtractedLicenseInfo license)
Deprecated.
Adds the license as a new ExtractedLicenseInfo
|
protected void |
SPDXDocument.initializeNextLicenseRef(ExtractedLicenseInfo[] existingLicenses)
Deprecated.
|
void |
SpdxDocumentContainer.setExtractedLicenseInfos(ExtractedLicenseInfo[] extractedLicenseInfos) |
void |
SPDXDocument.setExtractedLicenseInfos(ExtractedLicenseInfo[] nonStandardLicenses)
Deprecated.
Resets all ExtractedLicenseInfos to nonStandardLicenses.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ExtractedLicenseInfo.compareTo(ExtractedLicenseInfo o) |
| Modifier and Type | Method and Description |
|---|---|
ExtractedLicenseInfo[] |
SpdxDocument.getExtractedLicenseInfos() |
| Modifier and Type | Method and Description |
|---|---|
void |
SpdxDocument.addExtractedLicenseInfos(ExtractedLicenseInfo license) |
void |
SpdxDocument.setExtractedLicenseInfos(ExtractedLicenseInfo[] extractedLicenseInfos) |
Copyright © 2017 Linux Foundation. All Rights Reserved.