Package org.spdx.licensexml
Class XmlLicenseProviderSingleFile
java.lang.Object
org.spdx.licensexml.XmlLicenseProviderSingleFile
- All Implemented Interfaces:
ISpdxListedLicenseProvider
public class XmlLicenseProviderSingleFile extends Object implements ISpdxListedLicenseProvider
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description XmlLicenseProviderSingleFile(File licenseXmlFile) -
Method Summary
Modifier and Type Method Description Iterator<org.spdx.library.model.license.ListedLicenseException>getExceptionIterator()Iterator<org.spdx.library.model.license.SpdxListedLicense>getLicenseIterator()List<String>getWarnings()
-
Constructor Details
-
Method Details
-
getLicenseIterator
public Iterator<org.spdx.library.model.license.SpdxListedLicense> getLicenseIterator() throws org.spdx.library.model.license.SpdxListedLicenseException- Specified by:
getLicenseIteratorin interfaceISpdxListedLicenseProvider- Throws:
org.spdx.library.model.license.SpdxListedLicenseException
-
getExceptionIterator
public Iterator<org.spdx.library.model.license.ListedLicenseException> getExceptionIterator() throws org.spdx.library.InvalidSPDXAnalysisException- Specified by:
getExceptionIteratorin interfaceISpdxListedLicenseProvider- Throws:
org.spdx.library.InvalidSPDXAnalysisException
-
getWarnings
- Specified by:
getWarningsin interfaceISpdxListedLicenseProvider
-