Class XmlLicenseProviderSingleFile
java.lang.Object
org.spdx.licensexml.XmlLicenseProviderSingleFile
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.spdx.core.IModelCopyManagerprotected org.spdx.storage.IModelStoreprotected org.spdx.storage.IModelStore -
Constructor Summary
ConstructorsConstructorDescriptionXmlLicenseProviderSingleFile(File licenseXmlFile, String currentListVersion, String releaseDate) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
v2ModelStore
protected org.spdx.storage.IModelStore v2ModelStore -
v3ModelStore
protected org.spdx.storage.IModelStore v3ModelStore -
copyManager
protected org.spdx.core.IModelCopyManager copyManager
-
-
Constructor Details
-
XmlLicenseProviderSingleFile
public XmlLicenseProviderSingleFile(File licenseXmlFile, String currentListVersion, String releaseDate) throws LicenseXmlException, org.spdx.core.InvalidSPDXAnalysisException - Throws:
LicenseXmlExceptionorg.spdx.core.InvalidSPDXAnalysisException
-
-
Method Details
-
getLicenseIterator
public Iterator<ListedLicenseContainer> getLicenseIterator() throws org.spdx.library.model.v2.license.SpdxListedLicenseException- Specified by:
getLicenseIteratorin interfaceISpdxListedLicenseProvider- Throws:
org.spdx.library.model.v2.license.SpdxListedLicenseException
-
getExceptionIterator
public Iterator<ListedExceptionContainer> getExceptionIterator() throws org.spdx.core.InvalidSPDXAnalysisException- Specified by:
getExceptionIteratorin interfaceISpdxListedLicenseProvider- Throws:
org.spdx.core.InvalidSPDXAnalysisException
-
getWarnings
- Specified by:
getWarningsin interfaceISpdxListedLicenseProvider
-