Package org.spdx.library
package org.spdx.library
Package containing useful library functions for reading, writing, and manipulating
SPDX documents.
The
org.spdx.library.model package represents the SPDX model as Java objects
with getters and setters to support manipulating the SPDX documents.
The org.spdx.storage package implements an interface to a storage framework
for backing the SPDX document. An implementation of the storage interface is needed for
using this library.
The SpdxDocumentFactory and SpdxLicenseInfoFactory are the entrypoints
for creating SPDX documents and license information resp.- Author:
- Gary O'Neall
-
ClassDescriptionThis class helps facilitate copying objects from one model to another.Supports reading SPDX documents from an existing ModelStore Some design and some implementation borrowed from Yevster's spdxtra project under the Apache 2.0 license http://yevster.github.io/spdxtra/Constants which map to the SPDX specifications found at http://spdx.org/rdf/termsException when an SDPX ID or object was not found in a model storeHolds static methods used for verify various property valuesStatic class to manage the SPDX versions and the version of the implementation classesStatic class to provide write operations to the model.