| Package | Description |
|---|---|
| org.spdx.licensexml |
Classes that support the License XML format (see https://github.com/spdx/license-list-XML)
|
| org.spdx.tools |
| Modifier and Type | Method and Description |
|---|---|
List<SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> |
LicenseXmlDocument.getDeprecatedLicenseInfos() |
static String |
LicenseXmlHelper.getExampleText(Element exampleElement) |
static Object |
LicenseXmlHelper.getHeaderText(Node headerNode) |
List<LicenseException> |
LicenseXmlDocument.getLicenseExceptions() |
static String |
LicenseXmlHelper.getLicenseTemplate(Element licenseElement)
Gets the license template text from the license element
|
static String |
LicenseXmlHelper.getLicenseText(Element licenseElement)
Gets license text from the license element
|
List<SpdxListedLicense> |
LicenseXmlDocument.getListedLicenses()
Will skip deprecated licenses
|
static String |
LicenseXmlHelper.getNoteText(Element licenseElement)
Format note text taking into account line breaks, paragraphs etc.
|
| Constructor and Description |
|---|
LicenseXmlDocument(Document xmlDocument) |
LicenseXmlDocument(File file) |
| Modifier and Type | Method and Description |
|---|---|
static void |
ConvertLicenseListXml.convertLicenseXmlFile(Path inputFile,
Path outputFile)
Convert a license list XML file from the schema used prior to June 2017 to the standard terms
|
Copyright © 2017 Linux Foundation. All Rights Reserved.