Package org.spdx.spdxRdfStore
Class CompatibilityUpgrader
java.lang.Object
org.spdx.spdxRdfStore.CompatibilityUpgrader
Updates the RDF model for compatibility with the current version of the spec
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CompatibilityUpgrader
public CompatibilityUpgrader()
-
-
Method Details
-
upgrade
public static void upgrade(org.apache.jena.rdf.model.Model model, String documentNamespace) throws org.spdx.core.InvalidSPDXAnalysisException Upgrade the properties in the model to the current version of the spec- Parameters:
model
- RDF modeldocumentNamespace
- Namespace or URI for the SPDX document- Throws:
org.spdx.core.InvalidSPDXAnalysisException
-