Class CompatibilityUpgrader

java.lang.Object
org.spdx.spdxRdfStore.CompatibilityUpgrader

public class CompatibilityUpgrader extends Object
Updates the RDF model for compatibility with the current version of the spec
Author:
Gary O'Neall
  • 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 model
      documentNamespace - Namespace or URI for the SPDX document
      Throws:
      org.spdx.core.InvalidSPDXAnalysisException