Uses of Class
org.spdx.licensexml.LicenseXmlException
| Package | Description |
|---|---|
| org.spdx.licensexml |
Classes that support the License XML format (see https://github.com/spdx/license-list-XML)
|
-
Uses of LicenseXmlException in org.spdx.licensexml
Methods in org.spdx.licensexml that throw LicenseXmlException Modifier and Type Method Description static ObjectLicenseXmlHelper. getHeaderTemplate(Element headerElement)static ObjectLicenseXmlHelper. getHeaderText(Element headerElement)static ObjectLicenseXmlHelper. getHeaderTextHtml(Element headerElement)List<org.spdx.library.model.license.ListedLicenseException>LicenseXmlDocument. getLicenseExceptions()static StringLicenseXmlHelper. getLicenseTemplate(Element licenseElement)Gets the license template text from the license elementstatic StringLicenseXmlHelper. getLicenseText(Element licenseElement)Gets license text from the license elementstatic StringLicenseXmlHelper. getLicenseTextHtml(Element licenseElement)Get the HTML fragment representing the license text from the license bodyList<org.spdx.library.model.license.SpdxListedLicense>LicenseXmlDocument. getListedLicenses()Will skip deprecated licensesstatic StringLicenseXmlHelper. getNoteText(Element licenseElement)Format note text taking into account line breaks, paragraphs etc.Constructors in org.spdx.licensexml that throw LicenseXmlException Constructor Description LicenseXmlDocument(File file)LicenseXmlDocument(Document xmlDocument)XmlLicenseProviderSingleFile(File licenseXmlFile)