| Package | Description |
|---|---|
| org.spdx.licensexml |
Classes that support the License XML format (see https://github.com/spdx/license-list-XML)
|
| Modifier and Type | Method and Description |
|---|---|
List<org.spdx.spdxspreadsheet.SPDXLicenseSpreadsheet.DeprecatedLicenseInfo> |
LicenseXmlDocument.getDeprecatedLicenseInfos() |
static Object |
LicenseXmlHelper.getHeaderTemplate(Element headerElement) |
static Object |
LicenseXmlHelper.getHeaderText(Element headerElement) |
static Object |
LicenseXmlHelper.getHeaderTextHtml(Element headerElement) |
List<org.spdx.rdfparser.license.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
|
static String |
LicenseXmlHelper.getLicenseTextHtml(Element licenseElement)
Get the HTML fragment representing the license text from the license body
|
List<org.spdx.rdfparser.license.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) |
Copyright © 2018 Linux Foundation. All Rights Reserved.