Class SPDXDocument

java.lang.Object
org.spdx.rdfparser.SPDXDocument
All Implemented Interfaces:
IModelContainer, SpdxRdfConstants

@Deprecated
public class SPDXDocument
extends Object
implements SpdxRdfConstants, IModelContainer
Deprecated.
Simple model for the SPDX Analysis document. The document is stored in a Jena RDF model which can be accessed through the model property. The class should be constructed using the SPDXDocumentFactory class The createSpdxDocument(uri) must be called first for a blank model The license, file, and package objects can be constructed then added to the model by using the set functions. The non-standard licenses must contain a unique ID of the form LicenseRef-NN where NN is a unique number. The method addNonStandardLicense(licenseText) can be called to create a new unique Non-Standard License. This class is provided for compatibility with version 1.2 of the libraries - it has been replaced with SpdxDocumentContainer in version 2.0 and above.
Author:
Gary O'Neall